)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"f94096e0769b32ad677b0f7a0d86bd0d98e7e4fc","unresolved":true,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This commit is fixing the issue by ensuring scheduling segments per"},{"line_number":13,"context_line":"network that they belong to only."},{"line_number":14,"context_line":"A test has been updated to demonstract the fact that for a given"},{"line_number":15,"context_line":"network we only schedule the related segments."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Closes-bug: #1959750"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"8998c287_03063e90","line":14,"range":{"start_line":14,"start_character":27,"end_line":14,"end_character":38},"updated":"2022-02-17 17:18:52.000000000","message":"nit: demonstrate","commit_id":"b5b519a4faa52677d5b9d5553217ed40aac70483"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"3ea22d3cb058b342e20a909f58c60b429db651cc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"3688f586_00bcfe1e","updated":"2022-02-18 21:03:32.000000000","message":"recheck","commit_id":"b5b519a4faa52677d5b9d5553217ed40aac70483"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"f9d2599b81fc897a98e678218bef6786765c9569","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"e6faf4f0_f4253416","updated":"2022-02-14 17:27:37.000000000","message":"recheck","commit_id":"b5b519a4faa52677d5b9d5553217ed40aac70483"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"2c40ef875b19896f455fd9f319966a52808ad23c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"8121031c_6b963ce7","updated":"2022-02-18 09:06:21.000000000","message":"recheck POST_FAILURE","commit_id":"b5b519a4faa52677d5b9d5553217ed40aac70483"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"3a249529d70b38f313f64a05acad042c0b488b69","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"d617298a_c6e92a3b","updated":"2022-02-15 07:29:58.000000000","message":"recheck POST_FAILURE","commit_id":"b5b519a4faa52677d5b9d5553217ed40aac70483"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"e838dbde4041dd8a71346018be1be4c3da00c86a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"8af44db0_07dd9837","updated":"2022-02-14 17:27:28.000000000","message":"some sort of timeout [0], this does not look to be related to this change. let\u0027s make a try and see if this happens again.\n\n[0] https://zuul.opendev.org/t/openstack/build/0243e124fd5747118f0ddf4c7e550251/console","commit_id":"b5b519a4faa52677d5b9d5553217ed40aac70483"}],"neutron/db/agentschedulers_db.py":[{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"f94096e0769b32ad677b0f7a0d86bd0d98e7e4fc","unresolved":true,"context_lines":[{"line_number":503,"context_line":""},{"line_number":504,"context_line":"        # pre-compute net-id per segments."},{"line_number":505,"context_line":"        netsegs \u003d {}"},{"line_number":506,"context_line":"        [netsegs.setdefault(s[\u0027network_id\u0027], []).append(s)"},{"line_number":507,"context_line":"         for s in segments if \u0027network_id\u0027 in s]"},{"line_number":508,"context_line":"        for network_id in network_ids:"},{"line_number":509,"context_line":"            for segment in netsegs.get(network_id, []):"},{"line_number":510,"context_line":"                self._schedule_network("}],"source_content_type":"text/x-python","patch_set":3,"id":"f91758fd_fb83c87b","line":507,"range":{"start_line":506,"start_character":8,"end_line":507,"end_character":48},"updated":"2022-02-17 17:18:52.000000000","message":"nit: not that easy to read","commit_id":"b5b519a4faa52677d5b9d5553217ed40aac70483"}],"neutron/tests/unit/db/test_agentschedulers_db.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"c0a68e7f390c4a3a6a284fe80f0bcf097610a9cc","unresolved":true,"context_lines":[{"line_number":1624,"context_line":"                resources.SEGMENT_HOST_MAPPING, events.AFTER_CREATE,"},{"line_number":1625,"context_line":"                ctx, payload)"},{"line_number":1626,"context_line":"            if subnet_on_segment:"},{"line_number":1627,"context_line":"                schedule_network.assert_has_calls(["},{"line_number":1628,"context_line":"                    mock.call("},{"line_number":1629,"context_line":"                        ctx, subnet_on_segment.network_id,"},{"line_number":1630,"context_line":"                        dhcp_notifier, candidate_hosts\u003d[\u0027HOST A\u0027]),"}],"source_content_type":"text/x-python","patch_set":2,"id":"f8710eb3_1168a9dc","line":1627,"range":{"start_line":1627,"start_character":16,"end_line":1627,"end_character":49},"updated":"2022-02-14 13:33:38.000000000","message":"this does not verify schedule_network() was not called more times and with other arguments (\"There can be extra calls before or after the specified calls\" from inittest docs) - seems this test will pass even without the fix. I\u0027d suggest verify mock_calls() \u003d\u003d expected_calls","commit_id":"3c2c6b4ec7893b7f69ff52c497d19dcd6be6686d"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"56357c793d9e3b6cdf37fa97363dba5b57e13648","unresolved":true,"context_lines":[{"line_number":1624,"context_line":"                resources.SEGMENT_HOST_MAPPING, events.AFTER_CREATE,"},{"line_number":1625,"context_line":"                ctx, payload)"},{"line_number":1626,"context_line":"            if subnet_on_segment:"},{"line_number":1627,"context_line":"                schedule_network.assert_has_calls(["},{"line_number":1628,"context_line":"                    mock.call("},{"line_number":1629,"context_line":"                        ctx, subnet_on_segment.network_id,"},{"line_number":1630,"context_line":"                        dhcp_notifier, candidate_hosts\u003d[\u0027HOST A\u0027]),"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffed4523_e6eca15b","line":1627,"range":{"start_line":1627,"start_character":16,"end_line":1627,"end_character":49},"in_reply_to":"f8710eb3_1168a9dc","updated":"2022-02-14 15:07:06.000000000","message":"Thank you, it\u0027s fixed.","commit_id":"3c2c6b4ec7893b7f69ff52c497d19dcd6be6686d"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"6c5626ed58181b4cb7cf502e274c5f93fa3bcdca","unresolved":false,"context_lines":[{"line_number":1624,"context_line":"                resources.SEGMENT_HOST_MAPPING, events.AFTER_CREATE,"},{"line_number":1625,"context_line":"                ctx, payload)"},{"line_number":1626,"context_line":"            if subnet_on_segment:"},{"line_number":1627,"context_line":"                schedule_network.assert_has_calls(["},{"line_number":1628,"context_line":"                    mock.call("},{"line_number":1629,"context_line":"                        ctx, subnet_on_segment.network_id,"},{"line_number":1630,"context_line":"                        dhcp_notifier, candidate_hosts\u003d[\u0027HOST A\u0027]),"}],"source_content_type":"text/x-python","patch_set":2,"id":"f719e75a_78fd92bb","line":1627,"range":{"start_line":1627,"start_character":16,"end_line":1627,"end_character":49},"in_reply_to":"ffed4523_e6eca15b","updated":"2022-02-14 15:07:30.000000000","message":"Done","commit_id":"3c2c6b4ec7893b7f69ff52c497d19dcd6be6686d"}]}
