)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"79ee8752977261c92b0e647e13b94a57c2cc01c3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"8e0258ee_c0cd992e","updated":"2024-04-30 16:46:59.000000000","message":"It seems this was already addressed by https://review.opendev.org/c/openstack/octavia/+/798146","commit_id":"8addd38724d33b91855fe17e971c4d9b679fd1dd"}],"octavia/amphorae/backends/agent/api_server/loadbalancer.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"490af24785cbb51890ea16483be235699ecc4a90","unresolved":false,"context_lines":[{"line_number":416,"context_line":""},{"line_number":417,"context_line":"        with open(cert_path, \u0027r\u0027) as crt_file:"},{"line_number":418,"context_line":"            cert \u003d crt_file.read()"},{"line_number":419,"context_line":"            md5 \u003d md5(octavia_utils.b(cert),"},{"line_number":420,"context_line":"                      usedforsecurity\u003dFalse).hexdigest()"},{"line_number":421,"context_line":"            resp \u003d webob.Response(json\u003ddict(md5sum\u003dmd5))"},{"line_number":422,"context_line":"            resp.headers[\u0027ETag\u0027] \u003d md5"}],"source_content_type":"text/x-python","patch_set":2,"id":"1f621f24_145a29f2","line":419,"updated":"2020-10-30 16:13:05.000000000","message":"pep8: F823 local variable \u0027md5\u0027 defined in enclosing scope on line 26 referenced before assignment","commit_id":"ef1d0e694722bd299ef5be94787adfb887ff6eee"}],"octavia/amphorae/drivers/haproxy/rest_api_driver.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"490af24785cbb51890ea16483be235699ecc4a90","unresolved":false,"context_lines":[{"line_number":469,"context_line":"        if amphora and obj_id:"},{"line_number":470,"context_line":"            for cert in certs:"},{"line_number":471,"context_line":"                pem \u003d cert_parser.build_pem(cert)"},{"line_number":472,"context_line":"                md5 \u003d md5(pem, usedforsecurity\u003dFalse).hexdigest()"},{"line_number":473,"context_line":"                name \u003d \u0027{id}.pem\u0027.format(id\u003dcert.id)"},{"line_number":474,"context_line":"                cert_filename_list.append("},{"line_number":475,"context_line":"                    os.path.join("}],"source_content_type":"text/x-python","patch_set":2,"id":"1f621f24_f45e8de4","line":472,"updated":"2020-10-30 16:13:05.000000000","message":"pep8: F823 local variable \u0027md5\u0027 defined in enclosing scope on line 24 referenced before assignment","commit_id":"ef1d0e694722bd299ef5be94787adfb887ff6eee"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"490af24785cbb51890ea16483be235699ecc4a90","unresolved":false,"context_lines":[{"line_number":498,"context_line":"            secret \u003d secret.encode(\u0027utf-8\u0027)"},{"line_number":499,"context_line":"        except AttributeError:"},{"line_number":500,"context_line":"            pass"},{"line_number":501,"context_line":"        md5 \u003d md5(secret, usedforsecurity\u003dFalse).hexdigest()"},{"line_number":502,"context_line":"        id \u003d hashlib.sha1(secret).hexdigest()  # nosec"},{"line_number":503,"context_line":"        name \u003d \u0027{id}.pem\u0027.format(id\u003did)"},{"line_number":504,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1f621f24_54730181","line":501,"updated":"2020-10-30 16:13:05.000000000","message":"pep8: F823 local variable \u0027md5\u0027 defined in enclosing scope on line 24 referenced before assignment","commit_id":"ef1d0e694722bd299ef5be94787adfb887ff6eee"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"490af24785cbb51890ea16483be235699ecc4a90","unresolved":false,"context_lines":[{"line_number":537,"context_line":"                pem \u003d pem.encode(\u0027utf-8\u0027)"},{"line_number":538,"context_line":"            except AttributeError:"},{"line_number":539,"context_line":"                pass"},{"line_number":540,"context_line":"            md5 \u003d md5(pem, usedforsecurity\u003dFalse).hexdigest()"},{"line_number":541,"context_line":"            name \u003d \u0027{id}.pem\u0027.format(id\u003dtls_cert.id)"},{"line_number":542,"context_line":"            if amphora and obj_id:"},{"line_number":543,"context_line":"                self._upload_cert(amphora, obj_id, pem\u003dpem, md5\u003dmd5, name\u003dname)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1f621f24_34700573","line":540,"updated":"2020-10-30 16:13:05.000000000","message":"pep8: F823 local variable \u0027md5\u0027 defined in enclosing scope on line 24 referenced before assignment","commit_id":"ef1d0e694722bd299ef5be94787adfb887ff6eee"}],"octavia/tests/functional/amphorae/backend/agent/api_server/test_server.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"490af24785cbb51890ea16483be235699ecc4a90","unresolved":false,"context_lines":[{"line_number":23,"context_line":"from oslo_config import fixture as oslo_fixture"},{"line_number":24,"context_line":"from oslo_serialization import jsonutils"},{"line_number":25,"context_line":"from oslo_utils import uuidutils"},{"line_number":26,"context_line":"from oslo_utils.secretutils import md5"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"from octavia.amphorae.backends.agent import api_server"},{"line_number":29,"context_line":"from octavia.amphorae.backends.agent.api_server import certificate_update"}],"source_content_type":"text/x-python","patch_set":2,"id":"1f621f24_946d999a","line":26,"updated":"2020-10-30 16:13:05.000000000","message":"pep8: H306: imports not in alphabetical order (oslo_utils.uuidutils, oslo_utils.secretutils.md5)","commit_id":"ef1d0e694722bd299ef5be94787adfb887ff6eee"}],"octavia/tests/unit/amphorae/drivers/haproxy/test_rest_api_driver_0_5.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"490af24785cbb51890ea16483be235699ecc4a90","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_config import cfg"},{"line_number":19,"context_line":"from oslo_config import fixture as oslo_fixture"},{"line_number":20,"context_line":"from oslo_utils import uuidutils"},{"line_number":21,"context_line":"from oslo_utils.secretutils import md5"},{"line_number":22,"context_line":"import requests"},{"line_number":23,"context_line":"import requests_mock"},{"line_number":24,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1f621f24_d40431c9","line":21,"updated":"2020-10-30 16:13:05.000000000","message":"pep8: H306: imports not in alphabetical order (oslo_utils.uuidutils, oslo_utils.secretutils.md5)","commit_id":"ef1d0e694722bd299ef5be94787adfb887ff6eee"}],"octavia/tests/unit/amphorae/drivers/haproxy/test_rest_api_driver_1_0.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"490af24785cbb51890ea16483be235699ecc4a90","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_config import cfg"},{"line_number":19,"context_line":"from oslo_config import fixture as oslo_fixture"},{"line_number":20,"context_line":"from oslo_utils import uuidutils"},{"line_number":21,"context_line":"from oslo_utils.secretutils import md5"},{"line_number":22,"context_line":"import requests"},{"line_number":23,"context_line":"import requests_mock"},{"line_number":24,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1f621f24_746a7d80","line":21,"updated":"2020-10-30 16:13:05.000000000","message":"pep8: H306: imports not in alphabetical order (oslo_utils.uuidutils, oslo_utils.secretutils.md5)","commit_id":"ef1d0e694722bd299ef5be94787adfb887ff6eee"}]}
