)]}'
{"install_libs.sh":[{"author":{"_account_id":4608,"name":"Kota Tsuyuzaki","email":"bloodeagle40234@gmail.com","username":"tsuyuzaki-kota"},"change_message_id":"b7c5fb9623d0f054844f63e98a3099c8d8a12df1","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DST\u003d/usr/local/lib/storlets/python"},{"line_number":35,"context_line":"mkdir -p $DST"},{"line_number":36,"context_line":"chmod 755 $DST"},{"line_number":37,"context_line":"cp -r $SRC $DST/$SRC"}],"source_content_type":"text/x-sh","patch_set":11,"id":"3fa7e38b_3dec0aba","line":37,"updated":"2019-11-15 10:26:22.000000000","message":"perhaps, using `pip install -t $DST` might be safer?","commit_id":"535a4d2ef93518b8bb75116709e22d7fffd5353c"},{"author":{"_account_id":4608,"name":"Kota Tsuyuzaki","email":"bloodeagle40234@gmail.com","username":"tsuyuzaki-kota"},"change_message_id":"ec938853f343c032b78ea6af0fbd88ec81637dd8","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DST\u003d/usr/local/lib/storlets/python"},{"line_number":35,"context_line":"mkdir -p $DST"},{"line_number":36,"context_line":"chmod 755 $DST"},{"line_number":37,"context_line":"cp -r $SRC $DST/$SRC"}],"source_content_type":"text/x-sh","patch_set":11,"id":"3fa7e38b_1d9c03be","line":37,"in_reply_to":"3fa7e38b_06368103","updated":"2019-11-28 10:54:01.000000000","message":"The log said,\n\n\"The directory \u0027/home/zuul/.cache/pip/http\u0027 or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo\u0027s -H flag.\"\n\nHmm. it seems like it\u0027s not python spec problem but zuul problem because `pip install \u003cpackage\u003e -t \u003cdirectory\u003e` works in my ubuntu box. Though depending on what we expect for this command, if we need to install the module for root (or system administrator), let the command use sudo that could resolve the gate issue.\n\nOr modifying some zuul setting (i.e. changing the permission of .cache/pip/http in the zuul job ansible) could help us to pass the gate.\n\n\nthought?","commit_id":"535a4d2ef93518b8bb75116709e22d7fffd5353c"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"b322b00de5c4a747029739aaaa3a22816f2bf914","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DST\u003d/usr/local/lib/storlets/python"},{"line_number":35,"context_line":"mkdir -p $DST"},{"line_number":36,"context_line":"chmod 755 $DST"},{"line_number":37,"context_line":"cp -r $SRC $DST/$SRC"}],"source_content_type":"text/x-sh","patch_set":11,"id":"3fa7e38b_94967e49","line":37,"in_reply_to":"3fa7e38b_3dec0aba","updated":"2019-12-18 10:25:38.000000000","message":"Done","commit_id":"535a4d2ef93518b8bb75116709e22d7fffd5353c"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"e89c9435af8ba0d438a6eb8185dd601a4ce43981","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DST\u003d/usr/local/lib/storlets/python"},{"line_number":35,"context_line":"mkdir -p $DST"},{"line_number":36,"context_line":"chmod 755 $DST"},{"line_number":37,"context_line":"cp -r $SRC $DST/$SRC"}],"source_content_type":"text/x-sh","patch_set":11,"id":"3fa7e38b_06368103","line":37,"in_reply_to":"3fa7e38b_3dec0aba","updated":"2019-11-18 23:15:44.000000000","message":"I tried it in my subsequent patch[1], but unfortunately it is failing.\nCould you have a look to see whether I\u0027m doing something wrong?\n\n[1] https://review.opendev.org/#/c/694708/","commit_id":"535a4d2ef93518b8bb75116709e22d7fffd5353c"}],"storlets/gateway/gateways/docker/runtime.py":[{"author":{"_account_id":4608,"name":"Kota Tsuyuzaki","email":"bloodeagle40234@gmail.com","username":"tsuyuzaki-kota"},"change_message_id":"b7c5fb9623d0f054844f63e98a3099c8d8a12df1","unresolved":false,"context_lines":[{"line_number":133,"context_line":"            conf.get(\u0027script_dir\u0027,"},{"line_number":134,"context_line":"                     os.path.join(self.host_root_dir, \u0027scripts\u0027))"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        self.host_storlet_native_lib_dir \u003d \u0027/usr/local/lib/storlets\u0027"},{"line_number":137,"context_line":"        self.sandbox_storlet_native_lib_dir \u003d \u0027/usr/local/lib/storlets\u0027"},{"line_number":138,"context_line":"        self.host_storlet_native_bin_dir \u003d \u0027/usr/local/libexec/storlets\u0027"},{"line_number":139,"context_line":"        self.sandbox_storlet_native_bin_dir \u003d \u0027/usr/local/libexec/storlets\u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"3fa7e38b_3d6f2a29","line":136,"range":{"start_line":136,"start_character":8,"end_line":136,"end_character":68},"updated":"2019-11-15 10:26:22.000000000","message":"got it. `/usr/local/lib/storlets` was reserved here.","commit_id":"535a4d2ef93518b8bb75116709e22d7fffd5353c"}]}
