)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4727,"name":"Itzik Brown","email":"itzikb@redhat.com","username":"itzikb1"},"change_message_id":"484467fe898901fea7be5f138b7dd6984180507f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Arkady Shtempler \u003cashtempl@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-10-03 12:09:52 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) \"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3f79a3b5_9361cfd7","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":3},"updated":"2018-10-07 12:34:50.000000000","message":"Maybe \u0027Add Update QoS policy to test_qos_basic\u0027?","commit_id":"29de95a9e0765f4c0ed27fc1bccd6ba9c1966b82"},{"author":{"_account_id":4727,"name":"Itzik Brown","email":"itzikb@redhat.com","username":"itzikb1"},"change_message_id":"484467fe898901fea7be5f138b7dd6984180507f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) \"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: Ib07434a1df1d24d188aa6e4bced139bb5425c78d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"3f79a3b5_535b3721","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":53},"updated":"2018-10-07 12:34:50.000000000","message":"Maybe a short description of the change","commit_id":"29de95a9e0765f4c0ed27fc1bccd6ba9c1966b82"},{"author":{"_account_id":4727,"name":"Itzik Brown","email":"itzikb@redhat.com","username":"itzikb1"},"change_message_id":"1af25a7ddbf709c52838ca21d39950c87ee26701","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) \"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":"    This QoS functionality test covers two scenarious: \"Basic\" and \"Update QoS Policy\""},{"line_number":11,"context_line":"    \"Basic\" - is designed to check that configured BW (original) and actual/physical BW are similar."},{"line_number":12,"context_line":"    \"Update QoS Policy\" - is designed to check updated BW (after QoS policy update)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"3f79a3b5_34e45742","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":2},"updated":"2018-10-08 11:20:24.000000000","message":"Do we need it?","commit_id":"f4ec035bb81c90432f2fa182679ab567b051fe26"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"4fa0d73ca1d6efa677ff58618479310eabf24a11","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) \"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":"    This QoS functionality test covers two scenarious: \"Basic\" and \"Update QoS Policy\""},{"line_number":11,"context_line":"    \"Basic\" - is designed to check that configured BW (original) and actual/physical BW are similar."},{"line_number":12,"context_line":"    \"Update QoS Policy\" - is designed to check updated BW (after QoS policy update)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"3f79a3b5_b1fdc0b3","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":2},"in_reply_to":"3f79a3b5_34e45742","updated":"2018-10-09 09:39:50.000000000","message":"No, will fix it in next patch.","commit_id":"f4ec035bb81c90432f2fa182679ab567b051fe26"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"8a8b56d52c6a9edd4d6a11cb1b36c091dfa48f34","unresolved":false,"context_lines":[{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) \"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":"    This QoS functionality test covers two scenarious: \"Basic\" and \"Update QoS Policy\""},{"line_number":11,"context_line":"    \"Basic\" - is designed to check that configured BW (original) and actual/physical BW are similar."},{"line_number":12,"context_line":"    \"Update QoS Policy\" - is designed to check updated BW (after QoS policy update)"},{"line_number":13,"context_line":"    and actual/physical BW are similar."},{"line_number":14,"context_line":"    Note: detailed test scenario is provided at the beginning of this test."},{"line_number":15,"context_line":"Change-Id: Ib07434a1df1d24d188aa6e4bced139bb5425c78d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"3f79a3b5_c8b9b47c","line":14,"range":{"start_line":10,"start_character":4,"end_line":14,"end_character":75},"updated":"2018-10-09 09:09:14.000000000","message":"I know this is nit but please make those lines shorter","commit_id":"f4ec035bb81c90432f2fa182679ab567b051fe26"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"4fa0d73ca1d6efa677ff58618479310eabf24a11","unresolved":false,"context_lines":[{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"1) \"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":"    This QoS functionality test covers two scenarious: \"Basic\" and \"Update QoS Policy\""},{"line_number":11,"context_line":"    \"Basic\" - is designed to check that configured BW (original) and actual/physical BW are similar."},{"line_number":12,"context_line":"    \"Update QoS Policy\" - is designed to check updated BW (after QoS policy update)"},{"line_number":13,"context_line":"    and actual/physical BW are similar."},{"line_number":14,"context_line":"    Note: detailed test scenario is provided at the beginning of this test."},{"line_number":15,"context_line":"Change-Id: Ib07434a1df1d24d188aa6e4bced139bb5425c78d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":12,"id":"3f79a3b5_71296838","line":14,"range":{"start_line":10,"start_character":4,"end_line":14,"end_character":75},"in_reply_to":"3f79a3b5_c8b9b47c","updated":"2018-10-09 09:39:50.000000000","message":"OK, will fix it in next patch.","commit_id":"f4ec035bb81c90432f2fa182679ab567b051fe26"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"26d9a7144967b81053a6915e4804ffdb93084108","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Arkady Shtempler \u003cashtempl@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-10-09 12:38:07 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"\"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":"Two QoS test scenarious are covered:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"3f79a3b5_a36488b4","line":7,"range":{"start_line":7,"start_character":50,"end_line":7,"end_character":67},"updated":"2018-10-09 21:08:45.000000000","message":"It is recommended that the first line of a commit message should be limited to 50 characters: https://wiki.openstack.org/wiki/GitCommitMessages#Summary_of_Git_commit_message_structure\n\nSince the same information is explained in the lines below, I suggest limiting this line to:\n\nUpdate QoS scenario test","commit_id":"e7a93adb0343e269508bafb9d9a2b11f855e6c7c"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"26d9a7144967b81053a6915e4804ffdb93084108","unresolved":false,"context_lines":[{"line_number":7,"context_line":"New test case to cover: basic QoS functionality + Update QoS policy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"\"test_qos_basic_and_update\" - NEW general QoS test"},{"line_number":10,"context_line":"Two QoS test scenarious are covered:"},{"line_number":11,"context_line":"Basic - checks that configured and actual BW are similar"},{"line_number":12,"context_line":"Update QoS - checks that updated and actual BW are similar"},{"line_number":13,"context_line":"Change-Id: Ib07434a1df1d24d188aa6e4bced139bb5425c78d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"3f79a3b5_630430c6","line":10,"range":{"start_line":10,"start_character":13,"end_line":10,"end_character":23},"updated":"2018-10-09 21:08:45.000000000","message":"scenarios","commit_id":"e7a93adb0343e269508bafb9d9a2b11f855e6c7c"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"26d9a7144967b81053a6915e4804ffdb93084108","unresolved":false,"context_lines":[{"line_number":10,"context_line":"Two QoS test scenarious are covered:"},{"line_number":11,"context_line":"Basic - checks that configured and actual BW are similar"},{"line_number":12,"context_line":"Update QoS - checks that updated and actual BW are similar"},{"line_number":13,"context_line":"Change-Id: Ib07434a1df1d24d188aa6e4bced139bb5425c78d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"3f79a3b5_a31248fc","line":13,"range":{"start_line":13,"start_character":0,"end_line":13,"end_character":52},"updated":"2018-10-09 21:08:45.000000000","message":"Nit: we usually leave a blank line between the Change-ID and the body of the commit message","commit_id":"e7a93adb0343e269508bafb9d9a2b11f855e6c7c"}],"neutron_tempest_plugin/scenario/test_qos.py":[{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"50b8d0ffc337450646adec2f33934090812b7b02","unresolved":false,"context_lines":[{"line_number":170,"context_line":"        self.os_admin.network_client.create_bandwidth_limit_rule("},{"line_number":171,"context_line":"            policy_id, max_kbps\u003dconstants.LIMIT_KILO_BITS_PER_SECOND,"},{"line_number":172,"context_line":"            max_burst_kbps\u003dconstants.LIMIT_KILO_BITS_PER_SECOND)"},{"line_number":173,"context_line":"        port \u003d self.client.list_ports(network_id\u003dself.network[\u0027id\u0027],"},{"line_number":174,"context_line":"                                      device_id\u003dself.server["},{"line_number":175,"context_line":"                                      \u0027server\u0027][\u0027id\u0027])[\u0027ports\u0027][0]"},{"line_number":176,"context_line":"        self.os_admin.network_client.update_port(port[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_b4c35c57","side":"PARENT","line":173,"updated":"2018-08-31 21:26:49.000000000","message":"You remove the call to self.client.list_ports here but I think it is necessary to keep that, so that you are reacting to current data.","commit_id":"d1020f8027d6b55bcf2fcbcbafded75bc9afc5c6"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"6d8412402f23435858f8eb624a9ba0f776db873e","unresolved":false,"context_lines":[{"line_number":170,"context_line":"        self.os_admin.network_client.create_bandwidth_limit_rule("},{"line_number":171,"context_line":"            policy_id, max_kbps\u003dconstants.LIMIT_KILO_BITS_PER_SECOND,"},{"line_number":172,"context_line":"            max_burst_kbps\u003dconstants.LIMIT_KILO_BITS_PER_SECOND)"},{"line_number":173,"context_line":"        port \u003d self.client.list_ports(network_id\u003dself.network[\u0027id\u0027],"},{"line_number":174,"context_line":"                                      device_id\u003dself.server["},{"line_number":175,"context_line":"                                      \u0027server\u0027][\u0027id\u0027])[\u0027ports\u0027][0]"},{"line_number":176,"context_line":"        self.os_admin.network_client.update_port(port[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_4df616db","side":"PARENT","line":173,"in_reply_to":"3f79a3b5_b4c35c57","updated":"2018-09-13 13:55:07.000000000","message":"Agree, fixed by reverting to original code.","commit_id":"d1020f8027d6b55bcf2fcbcbafded75bc9afc5c6"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"50b8d0ffc337450646adec2f33934090812b7b02","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                file\u003dQoSTestMixin.FILE_PATH)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def _check_bw(self, ssh_client, host, port, expected_bw\u003dLIMIT_BYTES_SEC):"},{"line_number":96,"context_line":"        # Activate NetCat on remote VM #"},{"line_number":97,"context_line":"        cmd \u003d \"killall -q nc\""},{"line_number":98,"context_line":"        try:"},{"line_number":99,"context_line":"            ssh_client.exec_command(cmd)"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_d4ce1882","line":96,"updated":"2018-08-31 21:26:49.000000000","message":"I don\u0027t think the comments really add much here.  And stylistically OpenStack code, when commented, does not put a \u0027#\u0027 at the end of the comment line.","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"6d8412402f23435858f8eb624a9ba0f776db873e","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                file\u003dQoSTestMixin.FILE_PATH)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def _check_bw(self, ssh_client, host, port, expected_bw\u003dLIMIT_BYTES_SEC):"},{"line_number":96,"context_line":"        # Activate NetCat on remote VM #"},{"line_number":97,"context_line":"        cmd \u003d \"killall -q nc\""},{"line_number":98,"context_line":"        try:"},{"line_number":99,"context_line":"            ssh_client.exec_command(cmd)"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_4dacd6ed","line":96,"in_reply_to":"3f79a3b5_d4ce1882","updated":"2018-09-13 13:55:07.000000000","message":"I think it would be better to stay with this comment anyway, so stylistically issue is now fixed.","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"50b8d0ffc337450646adec2f33934090812b7b02","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        except exceptions.SSHExecCommandFailed:"},{"line_number":101,"context_line":"            pass"},{"line_number":102,"context_line":"        cmd \u003d (\"(nc -ll -p %(port)d \u003c %(file_path)s \u003e /dev/null \u0026)\" % {"},{"line_number":103,"context_line":"                \u0027port\u0027: port, \u0027file_path\u0027: QoSTest.FILE_PATH})"},{"line_number":104,"context_line":"        ssh_client.exec_command(cmd)"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"        # Open TCP socket to remote VM and download big file #"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_f4c9d478","line":103,"updated":"2018-08-31 21:26:49.000000000","message":"Was this a required change, or is it incidental to what is described in the commit message?","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"6d8412402f23435858f8eb624a9ba0f776db873e","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        except exceptions.SSHExecCommandFailed:"},{"line_number":101,"context_line":"            pass"},{"line_number":102,"context_line":"        cmd \u003d (\"(nc -ll -p %(port)d \u003c %(file_path)s \u003e /dev/null \u0026)\" % {"},{"line_number":103,"context_line":"                \u0027port\u0027: port, \u0027file_path\u0027: QoSTest.FILE_PATH})"},{"line_number":104,"context_line":"        ssh_client.exec_command(cmd)"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"        # Open TCP socket to remote VM and download big file #"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_8d3e6e89","line":103,"in_reply_to":"3f79a3b5_f4c9d478","updated":"2018-09-13 13:55:07.000000000","message":"That\u0027s was my fault removing \"Mixin\" :(","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"50b8d0ffc337450646adec2f33934090812b7b02","unresolved":false,"context_lines":[{"line_number":111,"context_line":"            data \u003d client_socket.recv(QoSTest.BUFFER_SIZE)"},{"line_number":112,"context_line":"            total_bytes_read +\u003d len(data)"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"        # Calculate and return actual BW + loggintg result #"},{"line_number":115,"context_line":"        time_elapsed \u003d time.time() - start_time"},{"line_number":116,"context_line":"        bytes_per_second \u003d total_bytes_read / time_elapsed"},{"line_number":117,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_94c8a074","line":114,"updated":"2018-08-31 21:26:49.000000000","message":"I would eliminate all these comments, but additionally there is a spelling mistake - there is no \u0027t\u0027 in \u0027logging\u0027.","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"6d8412402f23435858f8eb624a9ba0f776db873e","unresolved":false,"context_lines":[{"line_number":111,"context_line":"            data \u003d client_socket.recv(QoSTest.BUFFER_SIZE)"},{"line_number":112,"context_line":"            total_bytes_read +\u003d len(data)"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"        # Calculate and return actual BW + loggintg result #"},{"line_number":115,"context_line":"        time_elapsed \u003d time.time() - start_time"},{"line_number":116,"context_line":"        bytes_per_second \u003d total_bytes_read / time_elapsed"},{"line_number":117,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_6d6c329d","line":114,"in_reply_to":"3f79a3b5_94c8a074","updated":"2018-09-13 13:55:07.000000000","message":"Spelling mistake fixed.","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"50b8d0ffc337450646adec2f33934090812b7b02","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            covered in this test."},{"line_number":203,"context_line":"            \"\"\""},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"        # Options list - one iteration per option will be executed"},{"line_number":206,"context_line":"        options \u003d [\u0027Policy_Associated_To_Port\u0027, \u0027Policy_Associated_To_Network\u0027]"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"        # Start iteration"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_54a0c8a5","line":205,"updated":"2018-08-31 21:26:49.000000000","message":"Rather than making the code complicated by iterating through option strings, I would create two functions, test_update_policy_by_port() and test_update_policy_by_network().  You may have to pull some common code into helper functions so you don\u0027t repeat yourself, but that is a much more straightforward way to run tests like this.  It will be much easier for later developers to follow that way.","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"6d8412402f23435858f8eb624a9ba0f776db873e","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            covered in this test."},{"line_number":203,"context_line":"            \"\"\""},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"        # Options list - one iteration per option will be executed"},{"line_number":206,"context_line":"        options \u003d [\u0027Policy_Associated_To_Port\u0027, \u0027Policy_Associated_To_Network\u0027]"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"        # Start iteration"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_2dfb9abe","line":205,"in_reply_to":"3f79a3b5_54a0c8a5","updated":"2018-09-13 13:55:07.000000000","message":"Agree, split is done according to yours suggestion: \"test_update_policy_by_port\" and \"test_update_policy_by_network\"","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"50b8d0ffc337450646adec2f33934090812b7b02","unresolved":false,"context_lines":[{"line_number":241,"context_line":"                ssh_client,"},{"line_number":242,"context_line":"                self.fip[\u0027floating_ip_address\u0027],"},{"line_number":243,"context_line":"                port\u003dself.NC_PORT),"},{"line_number":244,"context_line":"                timeout\u003d120,"},{"line_number":245,"context_line":"                sleep\u003d1)"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"            # As admin user update QoS rule"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_74a384b2","line":244,"updated":"2018-08-31 21:26:49.000000000","message":"Is 120 arbitrary, or can we define a constant whose name helps us know why this particular value was chosen?","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"6d8412402f23435858f8eb624a9ba0f776db873e","unresolved":false,"context_lines":[{"line_number":241,"context_line":"                ssh_client,"},{"line_number":242,"context_line":"                self.fip[\u0027floating_ip_address\u0027],"},{"line_number":243,"context_line":"                port\u003dself.NC_PORT),"},{"line_number":244,"context_line":"                timeout\u003d120,"},{"line_number":245,"context_line":"                sleep\u003d1)"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"            # As admin user update QoS rule"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_8da8ae8c","line":244,"in_reply_to":"3f79a3b5_74a384b2","updated":"2018-09-13 13:55:07.000000000","message":"There is a new constant \"FILE_DOWNLOAD_TIMEOUT\" which is now used for all tests (3 in total including the old one -  \"test_qos\").\nUnfortunately I cannot provide the exact way this value was calculated, but I can say that I\u0027ve never got this timeout reached in mine testing.","commit_id":"ef3b74a3ab046d19809ea49b431c054eb4e613f4"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"6e358af3b67306cda6b1ae1f38e41a5506491ddf","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            sleep\u003d1)"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    @decorators.idempotent_id(\u0027447b9ed2-8f14-11e8-9d42-0242ac110002\u0027)"},{"line_number":188,"context_line":"    def test_update_policy_by_port(self):"},{"line_number":189,"context_line":"        \"\"\""},{"line_number":190,"context_line":"            Administrator has the ability to update existing QoS policy,"},{"line_number":191,"context_line":"            this test is planned to verify that:"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_8cb6f424","line":188,"updated":"2018-09-19 19:16:39.000000000","message":"I agree with Slawek that we don\u0027t need to duplicate tests like this.  My suggestion is that we mark the old \"test_qos\" test with @testtools.skip() and then we can remove it later after we have confidence that the costs of the additional tests outweigh it\u0027s benefits.","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"516631c2fb159b093ec327440ce26ff4e50bfe9d","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            sleep\u003d1)"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    @decorators.idempotent_id(\u0027447b9ed2-8f14-11e8-9d42-0242ac110002\u0027)"},{"line_number":188,"context_line":"    def test_update_policy_by_port(self):"},{"line_number":189,"context_line":"        \"\"\""},{"line_number":190,"context_line":"            Administrator has the ability to update existing QoS policy,"},{"line_number":191,"context_line":"            this test is planned to verify that:"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_82e9541a","line":188,"updated":"2018-09-13 15:02:23.000000000","message":"IMO You can remove now \"test_qos\" test case as those 2 which You want to add fully cover also this old one - if we can same things in less number of tests, it will be for sure better :)","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"cf75696069f5237ddb4b49e2eefbbd15f5bfdbb4","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            sleep\u003d1)"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    @decorators.idempotent_id(\u0027447b9ed2-8f14-11e8-9d42-0242ac110002\u0027)"},{"line_number":188,"context_line":"    def test_update_policy_by_port(self):"},{"line_number":189,"context_line":"        \"\"\""},{"line_number":190,"context_line":"            Administrator has the ability to update existing QoS policy,"},{"line_number":191,"context_line":"            this test is planned to verify that:"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_f29eaf67","line":188,"in_reply_to":"3f79a3b5_3c05e014","updated":"2018-09-15 20:22:29.000000000","message":"Our scenario tests already takes very long time because we can\u0027t use nested virtualization (on most cloud providers) and vms spawned by each tests takes really long time.\nBecause of that I think that if we can test whole this functionality in one test, so with spawning less vms would be good idea.\nI don\u0027t think that it will be big problem to diagnose later which part of test is broken - if test will fail, You will have stack trace which will point You in which line it failed so You will know if that was broken basic functionality or update.","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"ec1cbe379f8fed495c5d32759d9670e9227f2c0f","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            sleep\u003d1)"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    @decorators.idempotent_id(\u0027447b9ed2-8f14-11e8-9d42-0242ac110002\u0027)"},{"line_number":188,"context_line":"    def test_update_policy_by_port(self):"},{"line_number":189,"context_line":"        \"\"\""},{"line_number":190,"context_line":"            Administrator has the ability to update existing QoS policy,"},{"line_number":191,"context_line":"            this test is planned to verify that:"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_3c05e014","line":188,"in_reply_to":"3f79a3b5_82e9541a","updated":"2018-09-15 16:10:06.000000000","message":"On the one hand \"yes\" my test covers this basic functionality therefore thinking about removing the old one may to seem OK, but on another hand, this test (I would say sanity BASE test) indicates that QOS BASIC FUNCTIONALITY works!!! \n\nNow let\u0027s say that my \"NEW\" test fails, does it mean that Update QoS fails and Basic Functionality works?\nTherefore I don\u0027t think that removing the old one is good idea, it will also require changes into my \"Update QoS tests\": \n1) logical (don\u0027t continue to update if \"Basic Functionality fails\") \n2) adding additional relevant messages into the log an\n\nMoreover people (Itzik) worked too hard to make this test work :)","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"95b400617988c583ece183c67801c01a068f48fa","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            sleep\u003d1)"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    @decorators.idempotent_id(\u0027447b9ed2-8f14-11e8-9d42-0242ac110002\u0027)"},{"line_number":188,"context_line":"    def test_update_policy_by_port(self):"},{"line_number":189,"context_line":"        \"\"\""},{"line_number":190,"context_line":"            Administrator has the ability to update existing QoS policy,"},{"line_number":191,"context_line":"            this test is planned to verify that:"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_ad0c0393","line":188,"in_reply_to":"3f79a3b5_8cb6f424","updated":"2018-09-20 07:49:15.000000000","message":"OK, if so I\u0027ll add \"@testtools.skip()\" to the old test.","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"516631c2fb159b093ec327440ce26ff4e50bfe9d","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        # Update is done using Neutron port"},{"line_number":223,"context_line":"        self.os_admin.network_client.\\"},{"line_number":224,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":225,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id)"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"        # Create file on VM"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_22f080fd","line":224,"updated":"2018-09-13 15:02:23.000000000","message":"Only difference between Your 2 tests is here - once You call \"update_port\" and once \"update_network\". Please try to move common parts of code to some helper method and reuse it in two places.","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"cf75696069f5237ddb4b49e2eefbbd15f5bfdbb4","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        # Update is done using Neutron port"},{"line_number":223,"context_line":"        self.os_admin.network_client.\\"},{"line_number":224,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":225,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id)"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"        # Create file on VM"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_928dfb36","line":224,"in_reply_to":"3f79a3b5_1cf1046b","updated":"2018-09-15 20:22:29.000000000","message":"IMO idea from previous PS was good. But maybe instead of doing such list of \"options\" better would be to do something like:\n\n1. create network and associate QoS policy to this network,\n2. Spawn vm in this network and check if bandwidth limit from this policy works fine,\n3. Update bw limit in this policy and test if that will work fine,\n4. Create other policy with different bw limit and associate it to port directly,\n5. Check if that new bw limit works now for vm (testing if port\u0027s policy really overrides network policy)\n6. Update bw limit in \"port\u0027s policy\" and test that now.\n\nIn such case we can have only one test (1 VM necessary) and test all cases together. Do You think it is good idea?","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"ec1cbe379f8fed495c5d32759d9670e9227f2c0f","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        # Update is done using Neutron port"},{"line_number":223,"context_line":"        self.os_admin.network_client.\\"},{"line_number":224,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":225,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id)"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"        # Create file on VM"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_1cf1046b","line":224,"in_reply_to":"3f79a3b5_22f080fd","updated":"2018-09-15 16:10:06.000000000","message":"Can you check the implementation in previous path #7 was it bad idea to implement both options in one test? \nAs for current implementation I can create \"helper\" method for:\n\n        utils.wait_until_true(lambda: self._check_bw(\n            ssh_client,\n            self.fip[\u0027floating_ip_address\u0027],\n            port\u003dself.NC_PORT),\n            timeout\u003dself.FILE_DOWNLOAD_TIMEOUT,\n            sleep\u003d1)\n\nonly and to stay with the rest common code as is, because I think that then code will be readable and clear enough.\nWhat do you think?","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"95b400617988c583ece183c67801c01a068f48fa","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        # Update is done using Neutron port"},{"line_number":223,"context_line":"        self.os_admin.network_client.\\"},{"line_number":224,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":225,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id)"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"        # Create file on VM"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f79a3b5_182a1390","line":224,"in_reply_to":"3f79a3b5_928dfb36","updated":"2018-09-20 07:49:15.000000000","message":"@Nate what do you think about Slawek suggestion.\nIt make sense, but then we\u0027\u0027l have a single QoS test that covers:\n1) Basic QoS test (as old test will be skipped and probably deleted in future)\n2) Update QoS by network\n3) Update QoS by port\nand I\u0027ll have to add some logic, so in case when QoS will fail, proper failure message will be logged and user could understand the exact reason for failure: \"basic test\", \"update QoS by network\" or \"update QoS by port\".\nDon\u0027t you think that having separated small test as in #9 is OK?","commit_id":"1e56eac7b0aec9f6c520fa231956960beee63ba0"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"334e97711274f845aaf523d4f81fca1deb81ee6c","unresolved":false,"context_lines":[{"line_number":182,"context_line":"            self.fip[\u0027floating_ip_address\u0027],"},{"line_number":183,"context_line":"            port\u003dself.NC_PORT),"},{"line_number":184,"context_line":"            timeout\u003dself.FILE_DOWNLOAD_TIMEOUT,"},{"line_number":185,"context_line":"            sleep\u003d1)"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    @decorators.idempotent_id(\u002700682a0c-b72e-11e8-b81e-8c16450ea513\u0027)"},{"line_number":188,"context_line":"    def test_qos_basic_and_update(self):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_0666fcbc","line":185,"updated":"2018-09-24 07:55:39.000000000","message":"I still think that this test is not necessary as it is covered by new test completly","commit_id":"c0af50af16c5209696efc28e92fbec772ef581b6"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"3e44ac4edb112ba2423ae0e8c964e3e8d45335e0","unresolved":false,"context_lines":[{"line_number":182,"context_line":"            self.fip[\u0027floating_ip_address\u0027],"},{"line_number":183,"context_line":"            port\u003dself.NC_PORT),"},{"line_number":184,"context_line":"            timeout\u003dself.FILE_DOWNLOAD_TIMEOUT,"},{"line_number":185,"context_line":"            sleep\u003d1)"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    @decorators.idempotent_id(\u002700682a0c-b72e-11e8-b81e-8c16450ea513\u0027)"},{"line_number":188,"context_line":"    def test_qos_basic_and_update(self):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_6b3fcc85","line":185,"in_reply_to":"3f79a3b5_0666fcbc","updated":"2018-10-02 07:34:15.000000000","message":"OK, this test will be deleted in the next patch.","commit_id":"c0af50af16c5209696efc28e92fbec772ef581b6"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"334e97711274f845aaf523d4f81fca1deb81ee6c","unresolved":false,"context_lines":[{"line_number":264,"context_line":"        # Associate QoS policy to Neutron port"},{"line_number":265,"context_line":"        self.os_admin.network_client.\\"},{"line_number":266,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":267,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id)"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"        # As admin user update QoS rule"},{"line_number":270,"context_line":"        self.os_admin.network_client.update_bandwidth_limit_rule("}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_a60068b3","line":267,"updated":"2018-09-24 07:55:39.000000000","message":"IMO would be better to remove this policy from network first or use some new QoS policy for port because now You are not sure if limit is applied because policy is attached to port or still to network :)","commit_id":"c0af50af16c5209696efc28e92fbec772ef581b6"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"3e44ac4edb112ba2423ae0e8c964e3e8d45335e0","unresolved":false,"context_lines":[{"line_number":264,"context_line":"        # Associate QoS policy to Neutron port"},{"line_number":265,"context_line":"        self.os_admin.network_client.\\"},{"line_number":266,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":267,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id)"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"        # As admin user update QoS rule"},{"line_number":270,"context_line":"        self.os_admin.network_client.update_bandwidth_limit_rule("}],"source_content_type":"text/x-python","patch_set":9,"id":"3f79a3b5_2b455415","line":267,"in_reply_to":"3f79a3b5_a60068b3","updated":"2018-10-02 07:34:15.000000000","message":"Agree - new policy will be created and associated to Neutron Port in the next patch.","commit_id":"c0af50af16c5209696efc28e92fbec772ef581b6"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"e2be1130b08b68fc891dc009afb36371c39591e8","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            Note:"},{"line_number":184,"context_line":"            There are two options to associate QoS policy to VM:"},{"line_number":185,"context_line":"            \"Neutron Port\" or \"Network\", in this particular test"},{"line_number":186,"context_line":"            update is done using \"Network\""},{"line_number":187,"context_line":"        \"\"\""},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"        # Setup resources"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_e26d2f99","line":186,"range":{"start_line":186,"start_character":11,"end_line":186,"end_character":42},"updated":"2018-10-02 18:41:12.000000000","message":"L248 is using it via update_port so this comment should be updated","commit_id":"b1082eabf0591c6fbb507e445c9efcf5842bef14"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"eda163987ebebafd520f36944bd0f23b70772f08","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            Note:"},{"line_number":184,"context_line":"            There are two options to associate QoS policy to VM:"},{"line_number":185,"context_line":"            \"Neutron Port\" or \"Network\", in this particular test"},{"line_number":186,"context_line":"            update is done using \"Network\""},{"line_number":187,"context_line":"        \"\"\""},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"        # Setup resources"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_5b408232","line":186,"range":{"start_line":186,"start_character":11,"end_line":186,"end_character":42},"in_reply_to":"3f79a3b5_e26d2f99","updated":"2018-10-03 09:04:01.000000000","message":"Agree, will be updated in the next patch.","commit_id":"b1082eabf0591c6fbb507e445c9efcf5842bef14"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"e2be1130b08b68fc891dc009afb36371c39591e8","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        self.os_admin.network_client.\\"},{"line_number":248,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":249,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id_new)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        # As admin user update QoS rule"},{"line_number":252,"context_line":"        self.os_admin.network_client.update_bandwidth_limit_rule("},{"line_number":253,"context_line":"            bw_limit_policy_id_new,"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_a2b5f71a","line":250,"updated":"2018-10-02 18:41:12.000000000","message":"before its updated don\u0027t you want to assert the bandwidth per port ? like adding L252-L256 ? here","commit_id":"b1082eabf0591c6fbb507e445c9efcf5842bef14"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"28a751abd6007f0bcfe81f2a4043ecb5c65864f6","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        self.os_admin.network_client.\\"},{"line_number":248,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":249,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id_new)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        # As admin user update QoS rule"},{"line_number":252,"context_line":"        self.os_admin.network_client.update_bandwidth_limit_rule("},{"line_number":253,"context_line":"            bw_limit_policy_id_new,"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_c5b6e4dc","line":250,"in_reply_to":"3f79a3b5_9bc93a7a","updated":"2018-10-03 17:53:55.000000000","message":"adding so will make a testing update via port complete that\u0027s why i suggested to add that and update the comment above.","commit_id":"b1082eabf0591c6fbb507e445c9efcf5842bef14"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"eda163987ebebafd520f36944bd0f23b70772f08","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        self.os_admin.network_client.\\"},{"line_number":248,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":249,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id_new)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        # As admin user update QoS rule"},{"line_number":252,"context_line":"        self.os_admin.network_client.update_bandwidth_limit_rule("},{"line_number":253,"context_line":"            bw_limit_policy_id_new,"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_9bc93a7a","line":250,"in_reply_to":"3f79a3b5_a2b5f71a","updated":"2018-10-03 09:04:01.000000000","message":"I thought about that, but I didn\u0027t want to do that as it will increase test execution time, but now after your comment I think that it\u0027s right thing to do. Will be added to the next patch.","commit_id":"b1082eabf0591c6fbb507e445c9efcf5842bef14"},{"author":{"_account_id":4727,"name":"Itzik Brown","email":"itzikb@redhat.com","username":"itzikb1"},"change_message_id":"484467fe898901fea7be5f138b7dd6984180507f","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        client_socket \u003d _connect_socket(host, port)"},{"line_number":109,"context_line":"        total_bytes_read \u003d 0"},{"line_number":110,"context_line":"        while total_bytes_read \u003c QoSTest.FILE_SIZE:"},{"line_number":111,"context_line":"            data \u003d client_socket.recv(QoSTest.BUFFER_SIZE)"},{"line_number":112,"context_line":"            total_bytes_read +\u003d len(data)"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"        # Calculate and return actual BW + logging result"}],"source_content_type":"text/x-python","patch_set":11,"id":"3f79a3b5_6e920ca3","line":111,"range":{"start_line":111,"start_character":38,"end_line":111,"end_character":45},"updated":"2018-10-07 12:34:50.000000000","message":"QoSTestMixin?","commit_id":"29de95a9e0765f4c0ed27fc1bccd6ba9c1966b82"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"8a8b56d52c6a9edd4d6a11cb1b36c091dfa48f34","unresolved":false,"context_lines":[{"line_number":229,"context_line":"        utils.wait_until_true(lambda: self._check_bw("},{"line_number":230,"context_line":"            ssh_client,"},{"line_number":231,"context_line":"            self.fip[\u0027floating_ip_address\u0027],"},{"line_number":232,"context_line":"            port\u003dself.NC_PORT, expected_bw\u003dQoSTest.LIMIT_BYTES_SEC * 2),"},{"line_number":233,"context_line":"            timeout\u003dself.FILE_DOWNLOAD_TIMEOUT,"},{"line_number":234,"context_line":"            sleep\u003d1)"},{"line_number":235,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"3f79a3b5_ae724149","line":232,"range":{"start_line":232,"start_character":31,"end_line":232,"end_character":72},"updated":"2018-10-09 09:09:14.000000000","message":"nit: please move it to separate line below, it will be easier to read","commit_id":"f4ec035bb81c90432f2fa182679ab567b051fe26"},{"author":{"_account_id":28609,"name":"Arkady Shtempler","email":"ashtempl@redhat.com","username":"ashtempl"},"change_message_id":"4fa0d73ca1d6efa677ff58618479310eabf24a11","unresolved":false,"context_lines":[{"line_number":229,"context_line":"        utils.wait_until_true(lambda: self._check_bw("},{"line_number":230,"context_line":"            ssh_client,"},{"line_number":231,"context_line":"            self.fip[\u0027floating_ip_address\u0027],"},{"line_number":232,"context_line":"            port\u003dself.NC_PORT, expected_bw\u003dQoSTest.LIMIT_BYTES_SEC * 2),"},{"line_number":233,"context_line":"            timeout\u003dself.FILE_DOWNLOAD_TIMEOUT,"},{"line_number":234,"context_line":"            sleep\u003d1)"},{"line_number":235,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"3f79a3b5_3123f05a","line":232,"range":{"start_line":232,"start_character":31,"end_line":232,"end_character":72},"in_reply_to":"3f79a3b5_ae724149","updated":"2018-10-09 09:39:50.000000000","message":"OK, will fix it in next patch","commit_id":"f4ec035bb81c90432f2fa182679ab567b051fe26"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"26d9a7144967b81053a6915e4804ffdb93084108","unresolved":false,"context_lines":[{"line_number":201,"context_line":"                \u0027bandwidth_limit_rule\u0027][\u0027id\u0027]"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"        # Associate QoS to the network"},{"line_number":204,"context_line":"        self.os_admin.network_client.\\"},{"line_number":205,"context_line":"            update_network(self.network[\u0027id\u0027],"},{"line_number":206,"context_line":"                           qos_policy_id\u003dbw_limit_policy_id)"},{"line_number":207,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"3f79a3b5_8055c220","line":204,"range":{"start_line":204,"start_character":37,"end_line":204,"end_character":38},"updated":"2018-10-09 21:08:45.000000000","message":"We should avoid using backslash to continue lines: https://docs.openstack.org/hacking/latest/user/hacking.html#general","commit_id":"e7a93adb0343e269508bafb9d9a2b11f855e6c7c"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"26d9a7144967b81053a6915e4804ffdb93084108","unresolved":false,"context_lines":[{"line_number":245,"context_line":"                \u0027bandwidth_limit_rule\u0027][\u0027id\u0027]"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"        # Associate a new QoS policy to Neutron port"},{"line_number":248,"context_line":"        self.os_admin.network_client.\\"},{"line_number":249,"context_line":"            update_port(self.port[\u0027id\u0027],"},{"line_number":250,"context_line":"                        qos_policy_id\u003dbw_limit_policy_id_new)"},{"line_number":251,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"3f79a3b5_6030a607","line":248,"range":{"start_line":248,"start_character":37,"end_line":248,"end_character":38},"updated":"2018-10-09 21:08:45.000000000","message":"We should avoid using backslash to continue lines: https://docs.openstack.org/hacking/latest/user/hacking.html#general","commit_id":"e7a93adb0343e269508bafb9d9a2b11f855e6c7c"}]}
