)]}'
{"nova/cmd/audit.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5f745ed550e0e98bca3700b2ec5f64be6ff715e3","unresolved":false,"context_lines":[{"line_number":1165,"context_line":""},{"line_number":1166,"context_line":"        # If user has provided both cell and instance"},{"line_number":1167,"context_line":"        # Throw an error"},{"line_number":1168,"context_line":"        if instance_uuid and cell_uuid:"},{"line_number":1169,"context_line":"            print(_(\u0027The --cell and --instance options \u0027"},{"line_number":1170,"context_line":"                    \u0027are mutually exclusive.\u0027))"},{"line_number":1171,"context_line":"            return 127"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4c43b2_8caa73cf","line":1168,"updated":"2020-04-17 02:47:10.000000000","message":"pep8: F821 undefined name \u0027cell_uuid\u0027","commit_id":"a359c291d1414eb79785082276f7744325f46b7c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5f745ed550e0e98bca3700b2ec5f64be6ff715e3","unresolved":false,"context_lines":[{"line_number":1205,"context_line":"                      \u0027\"nova-audit cells map_instances\".\u0027 %"},{"line_number":1206,"context_line":"                      instance_uuid)"},{"line_number":1207,"context_line":"                return 127"},{"line_number":1208,"context_line":"        elif cell_uuid:"},{"line_number":1209,"context_line":"            try:"},{"line_number":1210,"context_line":"                # validate cell_uuid"},{"line_number":1211,"context_line":"                cell \u003d objects.CellMapping.get_by_uuid(ctxt, cell_uuid)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4c43b2_ecb9772e","line":1208,"updated":"2020-04-17 02:47:10.000000000","message":"pep8: F821 undefined name \u0027cell_uuid\u0027","commit_id":"a359c291d1414eb79785082276f7744325f46b7c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5f745ed550e0e98bca3700b2ec5f64be6ff715e3","unresolved":false,"context_lines":[{"line_number":1208,"context_line":"        elif cell_uuid:"},{"line_number":1209,"context_line":"            try:"},{"line_number":1210,"context_line":"                # validate cell_uuid"},{"line_number":1211,"context_line":"                cell \u003d objects.CellMapping.get_by_uuid(ctxt, cell_uuid)"},{"line_number":1212,"context_line":"                # create CellMappingList"},{"line_number":1213,"context_line":"                cells \u003d objects.CellMappingList(objects\u003d[cell])"},{"line_number":1214,"context_line":"            except exception.CellMappingNotFound:"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4c43b2_ccb47b38","line":1211,"updated":"2020-04-17 02:47:10.000000000","message":"pep8: F821 undefined name \u0027cell_uuid\u0027","commit_id":"a359c291d1414eb79785082276f7744325f46b7c"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5f745ed550e0e98bca3700b2ec5f64be6ff715e3","unresolved":false,"context_lines":[{"line_number":1212,"context_line":"                # create CellMappingList"},{"line_number":1213,"context_line":"                cells \u003d objects.CellMappingList(objects\u003d[cell])"},{"line_number":1214,"context_line":"            except exception.CellMappingNotFound:"},{"line_number":1215,"context_line":"                print(_(\u0027Cell with uuid %s was not found.\u0027) % cell_uuid)"},{"line_number":1216,"context_line":"                return 127"},{"line_number":1217,"context_line":"        else:"},{"line_number":1218,"context_line":"            cells \u003d objects.CellMappingList.get_all(ctxt)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4c43b2_2c851f5b","line":1215,"updated":"2020-04-17 02:47:10.000000000","message":"pep8: F821 undefined name \u0027cell_uuid\u0027","commit_id":"a359c291d1414eb79785082276f7744325f46b7c"}],"nova/cmd/manage.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":1519,"context_line":"        if verbose:"},{"line_number":1520,"context_line":"            output \u003d lambda msg: print(msg)"},{"line_number":1521,"context_line":""},{"line_number":1522,"context_line":"        placement \u003d report.SchedulerReportClient()"},{"line_number":1523,"context_line":"        # Resets two in-memory dicts for knowing instances per compute node"},{"line_number":1524,"context_line":"        self.cn_uuid_mapping \u003d collections.defaultdict(tuple)"},{"line_number":1525,"context_line":"        self.instances_mapping \u003d collections.defaultdict(list)"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_005992fc","line":1522,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027report\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":1521,"context_line":""},{"line_number":1522,"context_line":"        placement \u003d report.SchedulerReportClient()"},{"line_number":1523,"context_line":"        # Resets two in-memory dicts for knowing instances per compute node"},{"line_number":1524,"context_line":"        self.cn_uuid_mapping \u003d collections.defaultdict(tuple)"},{"line_number":1525,"context_line":"        self.instances_mapping \u003d collections.defaultdict(list)"},{"line_number":1526,"context_line":""},{"line_number":1527,"context_line":"        num_processed \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_e05bcef2","line":1524,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027collections\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":1522,"context_line":"        placement \u003d report.SchedulerReportClient()"},{"line_number":1523,"context_line":"        # Resets two in-memory dicts for knowing instances per compute node"},{"line_number":1524,"context_line":"        self.cn_uuid_mapping \u003d collections.defaultdict(tuple)"},{"line_number":1525,"context_line":"        self.instances_mapping \u003d collections.defaultdict(list)"},{"line_number":1526,"context_line":""},{"line_number":1527,"context_line":"        num_processed \u003d 0"},{"line_number":1528,"context_line":"        faults \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_4076fa71","line":1525,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027collections\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"}],"nova/tests/functional/test_nova_manage.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":357,"context_line":""},{"line_number":358,"context_line":""},{"line_number":359,"context_line":"class TestNovaManagePlacementAudit("},{"line_number":360,"context_line":"        integrated_helpers.ProviderUsageBaseTestCase):"},{"line_number":361,"context_line":"    \"\"\"Functional tests for nova-manage placement audit\"\"\""},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"    # Let\u0027s just use a simple fake driver"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_404d5a3c","line":360,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027integrated_helpers\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":375,"context_line":"            \u0027/os-hypervisors\u0027).body[\u0027hypervisors\u0027]"},{"line_number":376,"context_line":"        self.assertEqual(2, len(hypervisors))"},{"line_number":377,"context_line":""},{"line_number":378,"context_line":"        self.output \u003d StringIO()"},{"line_number":379,"context_line":"        self.useFixture(fixtures.MonkeyPatch(\u0027sys.stdout\u0027, self.output))"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"        self.flavor \u003d self.api.get_flavors()[0]"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_2048162b","line":378,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027StringIO\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":376,"context_line":"        self.assertEqual(2, len(hypervisors))"},{"line_number":377,"context_line":""},{"line_number":378,"context_line":"        self.output \u003d StringIO()"},{"line_number":379,"context_line":"        self.useFixture(fixtures.MonkeyPatch(\u0027sys.stdout\u0027, self.output))"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"        self.flavor \u003d self.api.get_flavors()[0]"},{"line_number":382,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_8053e2e1","line":379,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027fixtures\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":385,"context_line":"           still performs the instance deletion."},{"line_number":386,"context_line":"        \"\"\""},{"line_number":387,"context_line":""},{"line_number":388,"context_line":"        with mock.patch(\u0027nova.scheduler.client.report.SchedulerReportClient.\u0027"},{"line_number":389,"context_line":"                        \u0027delete_allocation_for_instance\u0027):"},{"line_number":390,"context_line":"            self.api.delete_server(server[\u0027id\u0027])"},{"line_number":391,"context_line":"            self._wait_until_deleted(server)"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_604e9e38","line":388,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027mock\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":400,"context_line":"        server \u003d self._boot_and_check_allocations(self.flavor, target_hostname)"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"        # let\u0027s mock the allocation delete call to placement"},{"line_number":403,"context_line":"        with mock.patch(\u0027nova.scheduler.client.report.SchedulerReportClient.\u0027"},{"line_number":404,"context_line":"                        \u0027delete_allocation_for_instance\u0027):"},{"line_number":405,"context_line":"            self.api.delete_server(server[\u0027id\u0027])"},{"line_number":406,"context_line":"            self._wait_until_deleted(server)"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_c0620aae","line":403,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027mock\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":471,"context_line":"        # Confirm the resize so it should in theory delete the source"},{"line_number":472,"context_line":"        # allocations but mock out the allocation delete for the source"},{"line_number":473,"context_line":"        post \u003d {\u0027confirmResize\u0027: None}"},{"line_number":474,"context_line":"        with mock.patch(\u0027nova.scheduler.client.report.SchedulerReportClient.\u0027"},{"line_number":475,"context_line":"                        \u0027delete_allocation_for_instance\u0027):"},{"line_number":476,"context_line":"            self.api.post_server_action("},{"line_number":477,"context_line":"                server[\u0027id\u0027], post, check_response_status\u003d[204])"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_a06546b7","line":474,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027mock\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"}],"nova/tests/unit/cmd/test_manage.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":1467,"context_line":"               \"parent_provider_uuid\": None,"},{"line_number":1468,"context_line":"               \"root_provider_uuid\": uuidsentinel.rp2},"},{"line_number":1469,"context_line":"              ]"},{"line_number":1470,"context_line":"        get_resource_providers.return_value \u003d fake_requests.FakeResponse("},{"line_number":1471,"context_line":"            200, content\u003djsonutils.dumps({\"resource_providers\": rps}))"},{"line_number":1472,"context_line":""},{"line_number":1473,"context_line":"        if errors:"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_20713677","line":1470,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027fake_requests\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"12ebfd8ee244cfb6117f160aca0cbd6af0c620e4","unresolved":false,"context_lines":[{"line_number":1468,"context_line":"               \"root_provider_uuid\": uuidsentinel.rp2},"},{"line_number":1469,"context_line":"              ]"},{"line_number":1470,"context_line":"        get_resource_providers.return_value \u003d fake_requests.FakeResponse("},{"line_number":1471,"context_line":"            200, content\u003djsonutils.dumps({\"resource_providers\": rps}))"},{"line_number":1472,"context_line":""},{"line_number":1473,"context_line":"        if errors:"},{"line_number":1474,"context_line":"            # We found one orphaned allocation per RP but RP1 got a fault"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_806c829c","line":1471,"updated":"2020-04-01 18:42:28.000000000","message":"pep8: F821 undefined name \u0027jsonutils\u0027","commit_id":"084ba6deaef2f9a001909ae9984037ace4810687"}]}
