)]}'
{"config_tempest/services/image.py":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"85c363828dde7a4be85e900c8137ade0f2679b93","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        img_path \u003d os.path.join(img_dir,"},{"line_number":60,"context_line":"                                os.path.basename(self.image_path))"},{"line_number":61,"context_line":"        name \u003d self.image_path[self.image_path.rfind(\u0027/\u0027) + 1:]"},{"line_number":62,"context_line":"        if not os.path.exists(img_dir):"},{"line_number":63,"context_line":"            try:"},{"line_number":64,"context_line":"                os.makedirs(img_dir)"},{"line_number":65,"context_line":"            except OSError:"},{"line_number":66,"context_line":"                raise"},{"line_number":67,"context_line":"        conf.set(\u0027scenario\u0027, \u0027img_file\u0027, name)"},{"line_number":68,"context_line":"        alt_name \u003d name + \"_alt\""},{"line_number":69,"context_line":"        image_id \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_6a0b4423","line":66,"range":{"start_line":62,"start_character":0,"end_line":66,"end_character":21},"updated":"2018-05-14 10:06:27.000000000","message":"I think this whole block will go above line 61 because when rfind will be called and image_path will be not found, It will give error: http://logs.openstack.org/73/541273/37/check/refstack-client-devstack-tempestconf/b7206ff/job-output.txt.gz#_2018-05-14_09_54_15_637845","commit_id":"7f8b9845c6d0feb628e726fbc34f7f11afd44f65"},{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"2fdbb8e8434ef47190d282de045188251784a2b3","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        img_path \u003d os.path.join(img_dir,"},{"line_number":60,"context_line":"                                os.path.basename(self.image_path))"},{"line_number":61,"context_line":"        name \u003d self.image_path[self.image_path.rfind(\u0027/\u0027) + 1:]"},{"line_number":62,"context_line":"        if not os.path.exists(img_dir):"},{"line_number":63,"context_line":"            try:"},{"line_number":64,"context_line":"                os.makedirs(img_dir)"},{"line_number":65,"context_line":"            except OSError:"},{"line_number":66,"context_line":"                raise"},{"line_number":67,"context_line":"        conf.set(\u0027scenario\u0027, \u0027img_file\u0027, name)"},{"line_number":68,"context_line":"        alt_name \u003d name + \"_alt\""},{"line_number":69,"context_line":"        image_id \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_c4a355ff","line":66,"range":{"start_line":62,"start_character":0,"end_line":66,"end_character":21},"in_reply_to":"5f7c97a3_6a0b4423","updated":"2018-05-15 07:55:03.000000000","message":"For the record, at the end, the problem was somewhere else. More specifically in setting image_name to None, which overridden a default image_name ..","commit_id":"7f8b9845c6d0feb628e726fbc34f7f11afd44f65"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"fd16bf08f8bc92eee254fa5b11a8bb94ff1587d6","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        img_path \u003d os.path.join(img_dir,"},{"line_number":60,"context_line":"                                os.path.basename(self.image_path))"},{"line_number":61,"context_line":"        name \u003d self.image_path[self.image_path.rfind(\u0027/\u0027) + 1:]"},{"line_number":62,"context_line":"        if not os.path.exists(img_dir):"},{"line_number":63,"context_line":"            try:"},{"line_number":64,"context_line":"                os.makedirs(img_dir)"},{"line_number":65,"context_line":"            except OSError:"},{"line_number":66,"context_line":"                raise"},{"line_number":67,"context_line":"        conf.set(\u0027scenario\u0027, \u0027img_file\u0027, name)"},{"line_number":68,"context_line":"        alt_name \u003d name + \"_alt\""},{"line_number":69,"context_line":"        image_id \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_c4f11503","line":66,"range":{"start_line":62,"start_character":0,"end_line":66,"end_character":21},"in_reply_to":"5f7c97a3_c4a355ff","updated":"2018-05-15 07:56:51.000000000","message":"Yup, you are correct, last night I figured out the issue.","commit_id":"7f8b9845c6d0feb628e726fbc34f7f11afd44f65"}]}
