)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"d776174ffd453e488ab53f77326cb120496e3c99","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Arthur Dayne \u003chuyueheng@inspur.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2020-04-27 13:34:13 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add NVMe SSD driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ic474814b780e9beca6f19df50c9ce4c5553850a1"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f493fa4_145e4a43","line":7,"updated":"2020-04-27 05:47:48.000000000","message":"Adding WIP(work in progress) for this patch, until resolve all problems.\n\nSuch as: WIP: Add NVMe SSD driver","commit_id":"106561dc46dc4860128efb04f0750dab0d4a1176"},{"author":{"_account_id":30395,"name":"Arthur Dayne","display_name":"Arthur Dayne","email":"palagend@foxmail.com","username":"acewit"},"change_message_id":"6c33f0b7947313d60264f7d51051b68c5599a551","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Arthur Dayne \u003chuyueheng@inspur.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2020-04-27 13:34:13 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add NVMe SSD driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ic474814b780e9beca6f19df50c9ce4c5553850a1"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f493fa4_1f114353","line":7,"in_reply_to":"1f493fa4_145e4a43","updated":"2020-04-29 02:42:27.000000000","message":"Done","commit_id":"106561dc46dc4860128efb04f0750dab0d4a1176"}],"cyborg/accelerator/common/utils.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"32ae5864470af222f8effda9b6936565d6d7b9c0","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    bdf_json \u003d jsonutils.dumps(ordered_dict)"},{"line_number":28,"context_line":"    return bdf_json"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"def get_vendor_maps():"},{"line_number":31,"context_line":"    \"\"\"The data is based on http://pci-ids.ucw.cz/read/PC/"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    :return: vendor maps dict"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f493fa4_7b5796cb","line":30,"updated":"2020-04-28 13:53:03.000000000","message":"pep8: E302 expected 2 blank lines, found 1","commit_id":"6e306d0e61f93932c4dabc9a2c63c402786bde82"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"e8258d6a1d65ffff7406e0bc66b2a07a1740d902","unresolved":true,"context_lines":[{"line_number":36,"context_line":"    return {\"10de\": \"nvidia\","},{"line_number":37,"context_line":"            \"102b\": \"matrox\","},{"line_number":38,"context_line":"            \"1bd4\": \"inspur\","},{"line_number":39,"context_line":"            \"8086\": \"intel\","},{"line_number":40,"context_line":"            \"1099\": \"samsung\","},{"line_number":41,"context_line":"            }"}],"source_content_type":"text/x-python","patch_set":12,"id":"322743dc_dddb22f8","line":39,"range":{"start_line":39,"start_character":10,"end_line":39,"end_character":28},"updated":"2021-01-16 06:24:48.000000000","message":"\"1cf2\": \"zte\".","commit_id":"b0ade781bab94dedfad0d6d19f19d23e7ed97a77"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"2dc7228dd582eb2d2070aad2147868438deafe40","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    return {\"10de\": \"nvidia\","},{"line_number":37,"context_line":"            \"102b\": \"matrox\","},{"line_number":38,"context_line":"            \"1bd4\": \"inspur\","},{"line_number":39,"context_line":"            \"8086\": \"intel\","},{"line_number":40,"context_line":"            \"1099\": \"samsung\","},{"line_number":41,"context_line":"            }"}],"source_content_type":"text/x-python","patch_set":12,"id":"bd9c0542_c592de6d","line":39,"range":{"start_line":39,"start_character":10,"end_line":39,"end_character":28},"in_reply_to":"322743dc_dddb22f8","updated":"2021-03-02 00:39:05.000000000","message":"Done","commit_id":"b0ade781bab94dedfad0d6d19f19d23e7ed97a77"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"34b829939d16720a428290e507e0504afb0acdfa","unresolved":true,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    :return: vendor maps dict"},{"line_number":101,"context_line":"    \"\"\""},{"line_number":102,"context_line":"    return {\"10de\": \"nvidia\","},{"line_number":103,"context_line":"            \"102b\": \"matrox\","},{"line_number":104,"context_line":"            \"1bd4\": \"inspur\","},{"line_number":105,"context_line":"            \"8086\": \"intel\","}],"source_content_type":"text/x-python","patch_set":13,"id":"da0189b8_c62ee0a3","line":102,"updated":"2021-02-18 08:12:56.000000000","message":"Looks good, if there are another vendor we can easily add it to this map.","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"2dc7228dd582eb2d2070aad2147868438deafe40","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    :return: vendor maps dict"},{"line_number":101,"context_line":"    \"\"\""},{"line_number":102,"context_line":"    return {\"10de\": \"nvidia\","},{"line_number":103,"context_line":"            \"102b\": \"matrox\","},{"line_number":104,"context_line":"            \"1bd4\": \"inspur\","},{"line_number":105,"context_line":"            \"8086\": \"intel\","}],"source_content_type":"text/x-python","patch_set":13,"id":"d7a895c6_44358283","line":102,"in_reply_to":"da0189b8_c62ee0a3","updated":"2021-03-02 00:39:05.000000000","message":"Ack","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"}],"cyborg/accelerator/drivers/ssd/base.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Cyborg SSD driver implementation."},{"line_number":18,"context_line":"\"\"\""},{"line_number":19,"context_line":"from oslo_log import log as logging"},{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_34dc26e3","line":20,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: H306: imports not in alphabetical order (oslo_log.log, cyborg.accelerator.drivers.ssd.utils)","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"#TODO(acewit) New SSD vendors should be registered here."},{"line_number":25,"context_line":"VENDOR_MAPS \u003d {\"1bd4\": \"inspur\", \"1099\": \"samsung\", \"8086\": \"intel\","},{"line_number":26,"context_line":"               None: \"__generic\"}"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_14d92af2","line":24,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: E265 block comment should start with \u0027# \u0027","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Cyborg SSD driver implementation."},{"line_number":18,"context_line":"\"\"\""},{"line_number":19,"context_line":"from oslo_log import log as logging"},{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_5fa74ba8","line":20,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: H306: imports not in alphabetical order (oslo_log.log, cyborg.accelerator.drivers.ssd.utils)","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"#TODO(acewit) New SSD vendors should be registered here."},{"line_number":25,"context_line":"VENDOR_MAPS \u003d {\"1bd4\": \"inspur\", \"1099\": \"samsung\", \"8086\": \"intel\","},{"line_number":26,"context_line":"               None: \"__generic\"}"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_bfb92fcd","line":24,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: E265 block comment should start with \u0027# \u0027","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"}],"cyborg/accelerator/drivers/ssd/generic.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"32ae5864470af222f8effda9b6936565d6d7b9c0","unresolved":false,"context_lines":[{"line_number":19,"context_line":"from oslo_log import log as logging"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":22,"context_line":"import cyborg.accelerator.common.utils as pci_utils"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":25,"context_line":"VENDOR_MAPS \u003d pci_utils.get_vendor_maps()"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f493fa4_3b618eaa","line":22,"updated":"2020-04-28 13:53:03.000000000","message":"pep8: H306: imports not in alphabetical order (cyborg.accelerator.drivers.ssd.utils, cyborg.accelerator.common.utils)","commit_id":"6e306d0e61f93932c4dabc9a2c63c402786bde82"}],"cyborg/accelerator/drivers/ssd/generic/driver.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class GenericNVMeSSDDriver(SSDDriver):"},{"line_number":25,"context_line":"    VENDOR \u003d \"__generic\""},{"line_number":26,"context_line":"    def discover(self):"},{"line_number":27,"context_line":"        return sysinfo.nvme_ssd_tree()"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_d4ece290","line":26,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: E301 expected 1 blank line, found 0","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class GenericNVMeSSDDriver(SSDDriver):"},{"line_number":25,"context_line":"    VENDOR \u003d \"__generic\""},{"line_number":26,"context_line":"    def discover(self):"},{"line_number":27,"context_line":"        return sysinfo.nvme_ssd_tree()"}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_7faa0771","line":26,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: E301 expected 1 blank line, found 0","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"}],"cyborg/accelerator/drivers/ssd/generic/sysinfo.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":21,"context_line":"VENDOR_ID \u003d None"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def nvme_ssd_tree():"},{"line_number":24,"context_line":"    devs \u003d utils.discover_ssds(VENDOR_ID)"},{"line_number":25,"context_line":"    return devs"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_f4e75eab","line":23,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: E302 expected 2 blank lines, found 1","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":21,"context_line":"VENDOR_ID \u003d None"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def nvme_ssd_tree():"},{"line_number":24,"context_line":"    devs \u003d utils.discover_ssds(VENDOR_ID)"},{"line_number":25,"context_line":"    return devs"}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_9f955336","line":23,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: E302 expected 2 blank lines, found 1","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"}],"cyborg/accelerator/drivers/ssd/inspur/driver.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"32ae5864470af222f8effda9b6936565d6d7b9c0","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class InspurNVMeSSDDriver(SSDDriver):"},{"line_number":25,"context_line":"    VENDOR \u003d \"inspur\""},{"line_number":26,"context_line":"    def discover(self):"},{"line_number":27,"context_line":"        return sysinfo.nvme_ssd_tree()"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f493fa4_db4eaa36","line":26,"updated":"2020-04-28 13:53:03.000000000","message":"pep8: E301 expected 1 blank line, found 0","commit_id":"6e306d0e61f93932c4dabc9a2c63c402786bde82"}],"cyborg/accelerator/drivers/ssd/inspur/sysinfo.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"32ae5864470af222f8effda9b6936565d6d7b9c0","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":21,"context_line":"VENDOR_ID \u003d \u00271bd4\u0027"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def nvme_ssd_tree():"},{"line_number":24,"context_line":"    devs \u003d utils.discover_ssds(VENDOR_ID)"},{"line_number":25,"context_line":"    return devs"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f493fa4_1b6652c2","line":23,"updated":"2020-04-28 13:53:03.000000000","message":"pep8: E302 expected 2 blank lines, found 1","commit_id":"6e306d0e61f93932c4dabc9a2c63c402786bde82"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"34b829939d16720a428290e507e0504afb0acdfa","unresolved":true,"context_lines":[{"line_number":18,"context_line":"\"\"\""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":21,"context_line":"VENDOR_ID \u003d \u00271bd4\u0027"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"def nvme_ssd_tree():"}],"source_content_type":"text/x-python","patch_set":13,"id":"f56d84f7_b36b7825","line":21,"updated":"2021-02-18 08:12:56.000000000","message":"nit: it\u0027s better to add a blank line before VENDOR_ID.","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"2dc7228dd582eb2d2070aad2147868438deafe40","unresolved":false,"context_lines":[{"line_number":18,"context_line":"\"\"\""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":21,"context_line":"VENDOR_ID \u003d \u00271bd4\u0027"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"def nvme_ssd_tree():"}],"source_content_type":"text/x-python","patch_set":13,"id":"106ad40e_7a0723f7","line":21,"in_reply_to":"f56d84f7_b36b7825","updated":"2021-03-02 00:39:05.000000000","message":"Done","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"}],"cyborg/accelerator/drivers/ssd/utils.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"07d324d9dd0e372966ca8a001bce651a3de0b22a","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        m \u003d SSD_INFO_PATTERN.match(ssd)"},{"line_number":93,"context_line":"        if m:"},{"line_number":94,"context_line":"            ssd_dict \u003d m.groupdict()"},{"line_number":95,"context_line":"            ssd_dict[\u0027hostname\u0027] \u003d CONF.host"},{"line_number":96,"context_line":"            # generate traits info"},{"line_number":97,"context_line":"            traits \u003d get_traits(ssd_dict[\"vendor_id\"], ssd_dict[\"product_id\"])"},{"line_number":98,"context_line":"            ssd_dict[\"rc\"] \u003d constants.RESOURCES[\"SSD\"]"}],"source_content_type":"text/x-python","patch_set":11,"id":"3f65232a_3f40d556","line":95,"updated":"2020-10-25 03:14:13.000000000","message":"pep8: F821 undefined name \u0027CONF\u0027","commit_id":"3b858268c724cb68fc85f0f20100b43bd3e1bb35"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"34b829939d16720a428290e507e0504afb0acdfa","unresolved":true,"context_lines":[{"line_number":16,"context_line":"\"\"\""},{"line_number":17,"context_line":"Utils for SSD driver."},{"line_number":18,"context_line":"\"\"\""},{"line_number":19,"context_line":"from oslo_concurrency import processutils"},{"line_number":20,"context_line":"from oslo_log import log as logging"},{"line_number":21,"context_line":"from oslo_serialization import jsonutils"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"de7bc4b8_20b696be","line":19,"updated":"2021-02-18 08:12:56.000000000","message":"nit: Add a blank line above on Line19","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"2dc7228dd582eb2d2070aad2147868438deafe40","unresolved":false,"context_lines":[{"line_number":16,"context_line":"\"\"\""},{"line_number":17,"context_line":"Utils for SSD driver."},{"line_number":18,"context_line":"\"\"\""},{"line_number":19,"context_line":"from oslo_concurrency import processutils"},{"line_number":20,"context_line":"from oslo_log import log as logging"},{"line_number":21,"context_line":"from oslo_serialization import jsonutils"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"c49a17d4_dca15b61","line":19,"in_reply_to":"de7bc4b8_20b696be","updated":"2021-03-02 00:39:05.000000000","message":"Done","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"}],"cyborg/agent/rpcapi.py":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"41a5c8b9224efbd0d68b5a6a7e5587dad80e03d3","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"# under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"\"\"\"Client side of the agent RPC API.\"\"\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from oslo_config import cfg"},{"line_number":19,"context_line":"import oslo_messaging as messaging"}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_a56642c0","line":16,"updated":"2020-04-27 08:36:40.000000000","message":"You can push a new patch to modify this, it\u0027s not change of the nvme ssd driver.","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"}],"cyborg/conf/agent.py":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"41a5c8b9224efbd0d68b5a6a7e5587dad80e03d3","unresolved":false,"context_lines":[{"line_number":28,"context_line":"                         title\u003d\u0027Options for the cyborg-agent service\u0027)"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"AGENT_OPTS \u003d (opts,)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"def register_opts(conf):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_25499230","line":31,"updated":"2020-04-27 08:36:40.000000000","message":"As above, you can push a new patch to modify this, it\u0027s not change of the nvme ssd driver.","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"}],"cyborg/tests/unit/accelerator/drivers/ssd/test_utils.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from cyborg.tests import base"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"GENERIC_NVME_SSD_INFO \u003d (\"0000:db:00.0 Non-Volatile memory controller [0108]: \""},{"line_number":23,"context_line":"                        \"Inspur Electronic Information Industry Co., \""},{"line_number":24,"context_line":"                        \"Ltd. Device [1bd4:1001] (rev 02)\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class stdout(object):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_74e22ea2","line":23,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: E128 continuation line under-indented for visual indent","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"GENERIC_NVME_SSD_INFO \u003d (\"0000:db:00.0 Non-Volatile memory controller [0108]: \""},{"line_number":23,"context_line":"                        \"Inspur Electronic Information Industry Co., \""},{"line_number":24,"context_line":"                        \"Ltd. Device [1bd4:1001] (rev 02)\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class stdout(object):"},{"line_number":27,"context_line":"    def readlines(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_54df32d5","line":24,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: E128 continuation line under-indented for visual indent","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":23,"context_line":"                        \"Inspur Electronic Information Industry Co., \""},{"line_number":24,"context_line":"                        \"Ltd. Device [1bd4:1001] (rev 02)\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class stdout(object):"},{"line_number":27,"context_line":"    def readlines(self):"},{"line_number":28,"context_line":"        return [GENERIC_NVME_SSD_INFO]"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_b4f1566e","line":26,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: E302 expected 2 blank lines, found 1","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"7133db7c748adfc31a024617643c304a7a892391","unresolved":false,"context_lines":[{"line_number":71,"context_line":"            \u0027vendor\u0027: \u00271bd4\u0027,"},{"line_number":72,"context_line":"            \u0027type\u0027: \u0027SSD\u0027,"},{"line_number":73,"context_line":"            \u0027std_board_info\u0027:"},{"line_number":74,"context_line":"                {\"controller\": \"Non-Volatile memory controller\", \"product_id\": \"1001\"},"},{"line_number":75,"context_line":"            \u0027vendor_board_info\u0027: {\"vendor_info\": \"ssd_vb_info\"},"},{"line_number":76,"context_line":"            \u0027deployable_list\u0027:"},{"line_number":77,"context_line":"                ["}],"source_content_type":"text/x-python","patch_set":1,"id":"1f493fa4_94f6da62","line":74,"updated":"2020-04-27 05:31:38.000000000","message":"pep8: E501 line too long (87 \u003e 79 characters)","commit_id":"6e625ed97363a2cc78821b45f042cc22fc18023e"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from cyborg.tests import base"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"GENERIC_NVME_SSD_INFO \u003d (\"0000:db:00.0 Non-Volatile memory controller [0108]: \""},{"line_number":23,"context_line":"                        \"Inspur Electronic Information Industry Co., \""},{"line_number":24,"context_line":"                        \"Ltd. Device [1bd4:1001] (rev 02)\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class stdout(object):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_ff96173e","line":23,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: E128 continuation line under-indented for visual indent","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"GENERIC_NVME_SSD_INFO \u003d (\"0000:db:00.0 Non-Volatile memory controller [0108]: \""},{"line_number":23,"context_line":"                        \"Inspur Electronic Information Industry Co., \""},{"line_number":24,"context_line":"                        \"Ltd. Device [1bd4:1001] (rev 02)\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class stdout(object):"},{"line_number":27,"context_line":"    def readlines(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_df9b5b63","line":24,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: E128 continuation line under-indented for visual indent","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":23,"context_line":"                        \"Inspur Electronic Information Industry Co., \""},{"line_number":24,"context_line":"                        \"Ltd. Device [1bd4:1001] (rev 02)\")"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class stdout(object):"},{"line_number":27,"context_line":"    def readlines(self):"},{"line_number":28,"context_line":"        return [GENERIC_NVME_SSD_INFO]"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_3fa4ffa5","line":26,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: E302 expected 2 blank lines, found 1","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"5bfaf119598a2c65045d181a9c0d9f3357f4629c","unresolved":false,"context_lines":[{"line_number":71,"context_line":"            \u0027vendor\u0027: \u00271bd4\u0027,"},{"line_number":72,"context_line":"            \u0027type\u0027: \u0027SSD\u0027,"},{"line_number":73,"context_line":"            \u0027std_board_info\u0027:"},{"line_number":74,"context_line":"                {\"controller\": \"Non-Volatile memory controller\", \"product_id\": \"1001\"},"},{"line_number":75,"context_line":"            \u0027vendor_board_info\u0027: {\"vendor_info\": \"ssd_vb_info\"},"},{"line_number":76,"context_line":"            \u0027deployable_list\u0027:"},{"line_number":77,"context_line":"                ["}],"source_content_type":"text/x-python","patch_set":4,"id":"1f493fa4_1fa14395","line":74,"updated":"2020-04-27 06:53:59.000000000","message":"pep8: E501 line too long (87 \u003e 79 characters)","commit_id":"32acd11c0cdf36a3bede1d9ba28fd76717e73aa6"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"32ae5864470af222f8effda9b6936565d6d7b9c0","unresolved":false,"context_lines":[{"line_number":17,"context_line":"from oslo_serialization import jsonutils"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from cyborg.accelerator.drivers.ssd import utils"},{"line_number":20,"context_line":"from cyborg.accelerator.drivers.ssd.generic import SSDDriver"},{"line_number":21,"context_line":"from cyborg.tests import base"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"NVME_SSD_INFO \u003d \"0000:db:00.0 Non-Volatile memory controller [0108]: Inspur \" \\"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f493fa4_bb4bde28","line":20,"updated":"2020-04-28 13:53:03.000000000","message":"pep8: H306: imports not in alphabetical order (cyborg.accelerator.drivers.ssd.utils, cyborg.accelerator.drivers.ssd.generic.ssddriver)","commit_id":"6e306d0e61f93932c4dabc9a2c63c402786bde82"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"32ae5864470af222f8effda9b6936565d6d7b9c0","unresolved":false,"context_lines":[{"line_number":21,"context_line":"from cyborg.tests import base"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"NVME_SSD_INFO \u003d \"0000:db:00.0 Non-Volatile memory controller [0108]: Inspur \" \\"},{"line_number":24,"context_line":"                \"Electronic Information Industry Co., Ltd. Device [1bd4:1001]\" \\"},{"line_number":25,"context_line":"                \" (rev 02)\\n0000:db:01.0 Non-Volatile memory controller \" \\"},{"line_number":26,"context_line":"                \"[0108]: Inspur Electronic Information Industry Co., Ltd. \" \\"},{"line_number":27,"context_line":"                \"Device [1bd4:1001] (rev 02)\\n0000:dc:01.0 Non-Volatile \" \\"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f493fa4_9b48a22d","line":24,"updated":"2020-04-28 13:53:03.000000000","message":"pep8: E501 line too long (80 \u003e 79 characters)","commit_id":"6e306d0e61f93932c4dabc9a2c63c402786bde82"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"32ae5864470af222f8effda9b6936565d6d7b9c0","unresolved":false,"context_lines":[{"line_number":132,"context_line":"            ssd_list \u003d d.discover()"},{"line_number":133,"context_line":"        self.assertEqual(cm.output,"},{"line_number":134,"context_line":"                         [\u0027INFO:cyborg.accelerator.drivers.ssd.generic:The \u0027"},{"line_number":135,"context_line":"                          \u0027method \"discover\" is called in generic.SSDDriver\u0027, ])"},{"line_number":136,"context_line":"        self.assertEqual(3, len(ssd_list))"},{"line_number":137,"context_line":"        self.assertEqual(\"1099\", ssd_list[2].as_dict()[\u0027vendor\u0027])"}],"source_content_type":"text/x-python","patch_set":6,"id":"1f493fa4_fb51e6da","line":135,"updated":"2020-04-28 13:53:03.000000000","message":"pep8: E501 line too long (80 \u003e 79 characters)","commit_id":"6e306d0e61f93932c4dabc9a2c63c402786bde82"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"07d324d9dd0e372966ca8a001bce651a3de0b22a","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# License for the specific language governing permissions and limitations"},{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import mock"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from oslo_serialization import jsonutils"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"3f65232a_9f2489c8","line":15,"updated":"2020-10-25 03:14:13.000000000","message":"pep8: N366: You must explicitly import python\u0027s mock: ``from unittest import mock``","commit_id":"3b858268c724cb68fc85f0f20100b43bd3e1bb35"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"34b829939d16720a428290e507e0504afb0acdfa","unresolved":true,"context_lines":[{"line_number":55,"context_line":"        self.assertEqual(1, len(ssd_vendors))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @mock.patch(\u0027cyborg.accelerator.drivers.ssd.utils.lspci_privileged\u0027)"},{"line_number":58,"context_line":"    def test_discover_in_inspur_ssd_driver(self, mock_devices_for_vendor):"},{"line_number":59,"context_line":"        mock_devices_for_vendor.return_value \u003d self.p.stdout.readlines()"},{"line_number":60,"context_line":"        self.set_defaults(host\u003d\u0027host-192-168-32-195\u0027, debug\u003dTrue)"},{"line_number":61,"context_line":"        vendor_id \u003d \u00271bd4\u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"df664730_91847412","line":58,"range":{"start_line":58,"start_character":22,"end_line":58,"end_character":24},"updated":"2021-02-18 08:12:56.000000000","message":"nit:with","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"},{"author":{"_account_id":31412,"name":"Wenping Song","email":"songwenping@inspur.com","username":"songwenping"},"change_message_id":"2dc7228dd582eb2d2070aad2147868438deafe40","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        self.assertEqual(1, len(ssd_vendors))"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @mock.patch(\u0027cyborg.accelerator.drivers.ssd.utils.lspci_privileged\u0027)"},{"line_number":58,"context_line":"    def test_discover_in_inspur_ssd_driver(self, mock_devices_for_vendor):"},{"line_number":59,"context_line":"        mock_devices_for_vendor.return_value \u003d self.p.stdout.readlines()"},{"line_number":60,"context_line":"        self.set_defaults(host\u003d\u0027host-192-168-32-195\u0027, debug\u003dTrue)"},{"line_number":61,"context_line":"        vendor_id \u003d \u00271bd4\u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"0db3528c_e1a5e542","line":58,"range":{"start_line":58,"start_character":22,"end_line":58,"end_character":24},"in_reply_to":"df664730_91847412","updated":"2021-03-02 00:39:05.000000000","message":"Done","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"34b829939d16720a428290e507e0504afb0acdfa","unresolved":true,"context_lines":[{"line_number":125,"context_line":"        self.assertEqual(attribute_list, attribute_actual_data)"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    @mock.patch(\u0027cyborg.accelerator.drivers.ssd.utils.lspci_privileged\u0027)"},{"line_number":128,"context_line":"    def test_discover_in_base_ssd_driver(self, mock_devices_for_vendor):"},{"line_number":129,"context_line":"        mock_devices_for_vendor.return_value \u003d self.p.stdout.readlines()"},{"line_number":130,"context_line":"        with self.assertLogs(None, level\u003d\u0027INFO\u0027) as cm:"},{"line_number":131,"context_line":"            d \u003d SSDDriver.create()"}],"source_content_type":"text/x-python","patch_set":13,"id":"28962401_b30724ff","line":128,"range":{"start_line":128,"start_character":22,"end_line":128,"end_character":24},"updated":"2021-02-18 08:12:56.000000000","message":"nit：with","commit_id":"2dff95e6552af1de67aed7d5441a252cc6b7f090"}]}
