)]}'
{"glance/tests/functional/ft_utils.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"import time"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from http import client as http_client"},{"line_number":19,"context_line":"from oslo_serialization import jsonutils"},{"line_number":20,"context_line":"from oslo_utils import timeutils"},{"line_number":21,"context_line":"import requests"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_6d2c8b99","line":18,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F401 \u0027http.client as http_client\u0027 imported but unused","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    \"\"\""},{"line_number":38,"context_line":"    path \u003d test_obj._url(\u0027/v2/images/%s\u0027 % image_id)"},{"line_number":39,"context_line":"    response \u003d requests.get(path, headers\u003dtest_obj._headers())"},{"line_number":40,"context_line":"    test_obj.assertEqual(http.OK, response.status_code)"},{"line_number":41,"context_line":"    image \u003d jsonutils.loads(response.text)"},{"line_number":42,"context_line":"    test_obj.assertEqual(checksum, image[\u0027checksum\u0027])"},{"line_number":43,"context_line":"    if os_hash_value:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_cd215fa2","line":40,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        time.sleep(start_delay_sec)"},{"line_number":73,"context_line":"    while time.time() \u003c\u003d done_time:"},{"line_number":74,"context_line":"        resp \u003d requests.get(request_path, headers\u003drequest_headers)"},{"line_number":75,"context_line":"        if resp.status_code !\u003d http.OK:"},{"line_number":76,"context_line":"            raise Exception(\"Received {} response from server\".format("},{"line_number":77,"context_line":"                resp.status_code))"},{"line_number":78,"context_line":"        entity \u003d jsonutils.loads(resp.text)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_ad26a3b6","line":75,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":109,"context_line":"        time.sleep(start_delay_sec)"},{"line_number":110,"context_line":"    while time.time() \u003c\u003d done_time:"},{"line_number":111,"context_line":"        resp \u003d requests.get(request_path, headers\u003drequest_headers)"},{"line_number":112,"context_line":"        if resp.status_code !\u003d http.OK:"},{"line_number":113,"context_line":"            raise Exception(\"Received {} response from server\".format("},{"line_number":114,"context_line":"                resp.status_code))"},{"line_number":115,"context_line":"        entity \u003d jsonutils.loads(resp.text)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_0d3b57d1","line":112,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"    while not timer.expired():"},{"line_number":156,"context_line":"        resp \u003d requests.get(url, headers\u003dheaders)"},{"line_number":157,"context_line":"        if require_success and resp.status_code !\u003d http.OK:"},{"line_number":158,"context_line":"            raise Exception("},{"line_number":159,"context_line":"                \u0027Received %i response from server\u0027 % resp.status_code)"},{"line_number":160,"context_line":"        entity \u003d resp.json()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_ed37fbe2","line":157,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"}],"glance/tests/functional/store_utils.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"import threading"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"from http import client as http_client"},{"line_number":24,"context_line":"from http import server as BaseHTTPServer"},{"line_number":25,"context_line":"from oslo_utils import units"},{"line_number":26,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_4d354fda","line":23,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F401 \u0027http.client as http_client\u0027 imported but unused","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        Respond to an image HEAD request fake metadata"},{"line_number":35,"context_line":"        \"\"\""},{"line_number":36,"context_line":"        if \u0027images\u0027 in self.path:"},{"line_number":37,"context_line":"            self.send_response(http.OK)"},{"line_number":38,"context_line":"            self.send_header(\u0027Content-Type\u0027, \u0027application/octet-stream\u0027)"},{"line_number":39,"context_line":"            self.send_header(\u0027Content-Length\u0027, FIVE_KB)"},{"line_number":40,"context_line":"            self.end_headers()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_2d3293f2","line":37,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            self.end_headers()"},{"line_number":41,"context_line":"            return"},{"line_number":42,"context_line":"        else:"},{"line_number":43,"context_line":"            self.send_error(http.NOT_FOUND, \u0027File Not Found: %s\u0027 % self.path)"},{"line_number":44,"context_line":"            return"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def do_GET(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_8d4c8777","line":43,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        Respond to an image GET request with fake image content."},{"line_number":49,"context_line":"        \"\"\""},{"line_number":50,"context_line":"        if \u0027images\u0027 in self.path:"},{"line_number":51,"context_line":"            self.send_response(http.OK)"},{"line_number":52,"context_line":"            self.send_header(\u0027Content-Type\u0027, \u0027application/octet-stream\u0027)"},{"line_number":53,"context_line":"            self.send_header(\u0027Content-Length\u0027, FIVE_KB)"},{"line_number":54,"context_line":"            self.end_headers()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_6d512b0f","line":51,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"feb0b666f647d42ad6fe3076daf2503dee829236","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            self.wfile.close()"},{"line_number":58,"context_line":"            return"},{"line_number":59,"context_line":"        else:"},{"line_number":60,"context_line":"            self.send_error(http.NOT_FOUND, \u0027File Not Found: %s\u0027 % self.path)"},{"line_number":61,"context_line":"            return"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"    def log_message(self, format, *args):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f6b1bfe_cd567f07","line":60,"updated":"2020-10-14 11:22:47.000000000","message":"pep8: F821 undefined name \u0027http\u0027","commit_id":"e0c440bb738b0d904bb233bb316f5f7ce7d267d8"}]}
