)]}'
{"os_brick/tests/test_executor.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from oslo_concurrency import processutils as putils"},{"line_number":20,"context_line":"from oslo_context import context as context_utils"},{"line_number":21,"context_line":"import testtools"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"from os_brick import executor as brick_executor"},{"line_number":24,"context_line":"from os_brick.privileged import rootwrap"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_236aea18","line":21,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F401 \u0027testtools\u0027 imported but unused","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    @mock.patch(\u0027os_brick.executor.priv_rootwrap.execute\u0027)"},{"line_number":67,"context_line":"    def test_execute_non_safe_bytes_exception(self, execute_mock, stdin_mock):"},{"line_number":68,"context_line":"        execute_mock.side_effect \u003d putils.ProcessExecutionError("},{"line_number":69,"context_line":"            stdout\u003dsix.binary_type(\u0027España\u0027, \u0027utf-8\u0027),"},{"line_number":70,"context_line":"            stderr\u003dsix.binary_type(\u0027Zürich\u0027, \u0027utf-8\u0027))"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        executor \u003d brick_executor.Executor(root_helper\u003dNone)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_8375b6fc","line":69,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    def test_execute_non_safe_bytes_exception(self, execute_mock, stdin_mock):"},{"line_number":68,"context_line":"        execute_mock.side_effect \u003d putils.ProcessExecutionError("},{"line_number":69,"context_line":"            stdout\u003dsix.binary_type(\u0027España\u0027, \u0027utf-8\u0027),"},{"line_number":70,"context_line":"            stderr\u003dsix.binary_type(\u0027Zürich\u0027, \u0027utf-8\u0027))"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        executor \u003d brick_executor.Executor(root_helper\u003dNone)"},{"line_number":73,"context_line":"        exc \u003d self.assertRaises(putils.ProcessExecutionError,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_63706209","line":70,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    @mock.patch(\u0027sys.stdin\u0027, encoding\u003d\u0027UTF-8\u0027)"},{"line_number":79,"context_line":"    @mock.patch(\u0027os_brick.executor.priv_rootwrap.execute\u0027)"},{"line_number":80,"context_line":"    def test_execute_non_safe_bytes(self, execute_mock, stdin_mock):"},{"line_number":81,"context_line":"        execute_mock.return_value \u003d (six.binary_type(\u0027España\u0027, \u0027utf-8\u0027),"},{"line_number":82,"context_line":"                                     six.binary_type(\u0027Zürich\u0027, \u0027utf-8\u0027))"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        executor \u003d brick_executor.Executor(root_helper\u003dNone)"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_c364ce4c","line":81,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    @mock.patch(\u0027os_brick.executor.priv_rootwrap.execute\u0027)"},{"line_number":80,"context_line":"    def test_execute_non_safe_bytes(self, execute_mock, stdin_mock):"},{"line_number":81,"context_line":"        execute_mock.return_value \u003d (six.binary_type(\u0027España\u0027, \u0027utf-8\u0027),"},{"line_number":82,"context_line":"                                     six.binary_type(\u0027Zürich\u0027, \u0027utf-8\u0027))"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        executor \u003d brick_executor.Executor(root_helper\u003dNone)"},{"line_number":85,"context_line":"        stdout, stderr \u003d executor._execute()"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_a3671a4d","line":82,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"}],"os_brick/utils.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":18,"context_line":"import time"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from oslo_log import log as logging"},{"line_number":21,"context_line":"from oslo_utils import encodeutils"},{"line_number":22,"context_line":"from oslo_utils import strutils"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"from os_brick.i18n import _"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_035b6686","line":21,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F401 \u0027oslo_utils.encodeutils\u0027 imported but unused","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    def _decorator(f):"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"        @six.wraps(f)"},{"line_number":58,"context_line":"        def _wrapper(*args, **kwargs):"},{"line_number":59,"context_line":"            r \u003d tenacity.Retrying("},{"line_number":60,"context_line":"                before_sleep\u003dtenacity.before_sleep_log(LOG, logging.DEBUG),"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_e35d9279","line":57,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":149,"context_line":"                      # and don\u0027t use mask_dict_password because it results in"},{"line_number":150,"context_line":"                      # an infinite recursion failure."},{"line_number":151,"context_line":"                      \u0027all_args\u0027: strutils.mask_password("},{"line_number":152,"context_line":"                          six.text_type(all_args))})"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        start_time \u003d time.time() * 1000"},{"line_number":155,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_4358be86","line":152,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"6387b5206e8c4a4edad489df8ba18129e6a4384b","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"        if isinstance(result, dict):"},{"line_number":167,"context_line":"            mask_result \u003d strutils.mask_dict_password(result)"},{"line_number":168,"context_line":"        elif isinstance(result, six.string_types):"},{"line_number":169,"context_line":"            mask_result \u003d strutils.mask_password(result)"},{"line_number":170,"context_line":"        else:"},{"line_number":171,"context_line":"            mask_result \u003d result"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_23530a6d","line":168,"updated":"2020-05-20 01:53:51.000000000","message":"pep8: F821 undefined name \u0027six\u0027","commit_id":"52079784bcf76b11b44646b0b9bd6e1d76718de0"}]}
