)]}'
{"id":"openstack%2Frally~755920","triplet_id":"openstack%2Frally~master~If206e41f3bac6e0b73b57e85c80fa2530ee9d4cf","project":"openstack/rally","branch":"master","topic":"optimization/pip-no-cache-dir","hashtags":[],"change_id":"If206e41f3bac6e0b73b57e85c80fa2530ee9d4cf","subject":"optimize size and time using --no-cache-dir","status":"MERGED","created":"2020-10-03 06:49:21.000000000","updated":"2020-10-12 10:32:31.000000000","submitted":"2020-10-12 10:32:31.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"755920-1602498751701-473da3c1","meta_rev_id":"516ee7293666d3af422f8a57ec9b7deecff2c55a","_number":755920,"virtual_id_number":755920,"owner":{"_account_id":31020,"name":"Pratik raj","email":"Rajpratik71@gmail.com","username":"rajpratik71"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2020-10-12 10:32:31.000000000","post_submit":true,"permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"all":[{"value":2,"date":"2020-10-12 10:16:22.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"all":[{"value":1,"date":"2020-10-12 10:16:22.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2020-10-12 10:16:22.000000000","updated_by":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"reviewer":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"state":"REVIEWER"},{"updated":"2020-10-12 10:32:31.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"90c65f30f296dcf4a38a4443d4e5bf59716abaa8","author":{"_account_id":31020,"name":"Pratik raj","email":"Rajpratik71@gmail.com","username":"rajpratik71"},"date":"2020-10-03 06:49:21.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"ce23a2233a2001b679137f9630c461fd598a6683","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-10-03 07:05:12.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/d92d4e864cbf444398b510665044303f : FAILURE in 3m 27s\n- rally-tox-cover https://zuul.opendev.org/t/openstack/build/166ee77e29e8439eabdc609a8fa25e12 : SUCCESS in 5m 18s\n- rally-tox-docs https://zuul.opendev.org/t/openstack/build/7903b54235af453db26b2fc27f54e579 : SUCCESS in 5m 01s\n- rally-tox-pep8 https://zuul.opendev.org/t/openstack/build/f821dda001a44b479b1f79c76c3fa6b3 : SUCCESS in 4m 40s\n- rally-tox-py36 https://zuul.opendev.org/t/openstack/build/da50637b9da94023b5f040c7a5e32791 : SUCCESS in 5m 33s\n- rally-tox-py37 https://zuul.opendev.org/t/openstack/build/482d421713cd4a8dbf3b56706832bafa : SUCCESS in 4m 24s\n- rally-tox-py38 https://zuul.opendev.org/t/openstack/build/ef90d94705e34bb58ba0a1c0471bece9 : SUCCESS in 4m 06s\n- rally-tox-samples https://zuul.opendev.org/t/openstack/build/2cfb57de24a84b1a81a2ecc87dc1f513 : SUCCESS in 4m 01s\n- rally-tox-functional https://zuul.opendev.org/t/openstack/build/a8ee27e63a9048d2b00df09cefcb108b : SUCCESS in 9m 37s\n- rally-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/26d9564ff2df47d1b8fccc7582d34838 : SUCCESS in 7m 16s\n- rally-tox-self https://zuul.opendev.org/t/openstack/build/dd1992b5d9e245d98d23f507d53122fc : SUCCESS in 6m 46s\n- rally-install-ubuntu-bionic https://zuul.opendev.org/t/openstack/build/83272c0080aa43dfaf6f2e54a885bb0d : SUCCESS in 6m 30s\n- rally-install-ubuntu-focal https://zuul.opendev.org/t/openstack/build/c10a77ad9aad486097a48e52d1bbe181 : SUCCESS in 6m 31s\n- rally-install-centos-7 https://zuul.opendev.org/t/openstack/build/3ed9e5a0ba26484681df095d1415348f : SUCCESS in 7m 09s\n- rally-install-centos-8 https://zuul.opendev.org/t/openstack/build/eacecfb898674a2582d8ed2d8d48c584 : SUCCESS in 7m 12s\n- rally-docker-build https://zuul.opendev.org/t/openstack/build/678d574ef99c4b92b4bbde9b0a8ac136 : SUCCESS in 8m 40s","accounts_in_message":[],"_revision_number":1},{"id":"b6982ab728ff36b81b3cdf2d7d6232984a296cc7","author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"date":"2020-10-12 09:51:04.000000000","message":"Patch Set 2: Patch Set 1 was rebased","accounts_in_message":[],"_revision_number":2},{"id":"f4d59ffd0f9019c2cea0d10d2197167e67edf200","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-10-12 10:06:03.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/9811bbff23a64435b86f195bac7d3826 : SUCCESS in 4m 49s\n- rally-tox-cover https://zuul.opendev.org/t/openstack/build/6c595699477a4a1d976b6b344c068258 : SUCCESS in 5m 21s\n- rally-tox-docs https://zuul.opendev.org/t/openstack/build/bd83b9ca3657445da64ece5fef130457 : SUCCESS in 4m 42s\n- rally-tox-pep8 https://zuul.opendev.org/t/openstack/build/a6b849caf2b14a4eb2988349b6d591df : SUCCESS in 3m 41s\n- rally-tox-py36 https://zuul.opendev.org/t/openstack/build/244418286ab44e3191b91ffdecd8bf51 : SUCCESS in 4m 11s\n- rally-tox-py37 https://zuul.opendev.org/t/openstack/build/5a5382a8f84f4c17a631c517a011cbc9 : SUCCESS in 4m 12s\n- rally-tox-py38 https://zuul.opendev.org/t/openstack/build/f8149050869343e4a06ec33d126c8382 : SUCCESS in 4m 01s\n- rally-tox-samples https://zuul.opendev.org/t/openstack/build/8d84240c3a094d48b2564ef120526caa : SUCCESS in 4m 18s\n- rally-tox-functional https://zuul.opendev.org/t/openstack/build/31173aab0d1b483591df9da22a3c3e0e : SUCCESS in 6m 37s\n- rally-tox-functional-py38 https://zuul.opendev.org/t/openstack/build/e06816e1d55e4b9f8c4daeb6d8bfdd34 : SUCCESS in 5m 31s\n- rally-tox-self https://zuul.opendev.org/t/openstack/build/2f9785632e4c44cb81b966b07e7002f1 : SUCCESS in 6m 47s\n- rally-install-ubuntu-bionic https://zuul.opendev.org/t/openstack/build/1e8dc9ac16974746b023b87f3ca24a3c : SUCCESS in 6m 15s\n- rally-install-ubuntu-focal https://zuul.opendev.org/t/openstack/build/6b4ac059efb64d9a93372b2d59d3fb3f : SUCCESS in 6m 51s\n- rally-install-centos-7 https://zuul.opendev.org/t/openstack/build/c8992ea100974022b28d87801b3de222 : SUCCESS in 7m 05s\n- rally-install-centos-8 https://zuul.opendev.org/t/openstack/build/b038faf2f6834198aca8330a1451128f : SUCCESS in 7m 09s\n- rally-docker-build https://zuul.opendev.org/t/openstack/build/13dc22032782494d9c5fbc404c336884 : SUCCESS in 8m 06s","accounts_in_message":[],"_revision_number":2},{"id":"e4f657c32908f3ca0832f60f65e9a363ce881713","author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"date":"2020-10-12 10:16:22.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":2},{"id":"764e95fd5581ad675d840f88c8e1fa335be1095b","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-10-12 10:16:35.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":2},{"id":"37ef43e72107bb25f3eebba4ab4015ba0c9da25c","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-10-12 10:32:31.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":2},{"id":"d300ee5de6f97fa21eb44b7a76a13c31953ded9d","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-10-12 10:32:31.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/2e889c6b5fb444669adee6624c370ce3 : SUCCESS in 5m 07s\n- rally-tox-cover https://zuul.opendev.org/t/openstack/build/3ac2714ceae04a27a8cfc7be7c24880c : SUCCESS in 5m 09s\n- rally-tox-docs https://zuul.opendev.org/t/openstack/build/cecd6ad77c0c40cc916b547becb42c78 : SUCCESS in 4m 06s\n- rally-tox-pep8 https://zuul.opendev.org/t/openstack/build/ef81e588b82642f6b510c63205a36841 : SUCCESS in 3m 35s\n- rally-tox-py36 https://zuul.opendev.org/t/openstack/build/886fe0e801a94c158bb96eebf905fdb5 : SUCCESS in 3m 52s\n- rally-tox-py37 https://zuul.opendev.org/t/openstack/build/3f1addbfd25f4c6a9ad5849cc9eafea3 : SUCCESS in 4m 56s\n- rally-tox-py38 https://zuul.opendev.org/t/openstack/build/e704f5fbd34d4d0b84a115cc12b9d433 : SUCCESS in 3m 58s\n- rally-tox-functional https://zuul.opendev.org/t/openstack/build/d6d9502442ef40368054c1766a8decc8 : SUCCESS in 10m 59s\n- rally-tox-self https://zuul.opendev.org/t/openstack/build/804193ed3bda4f0c8cf5b7c108f15baa : SUCCESS in 7m 17s\n- rally-install-ubuntu-bionic https://zuul.opendev.org/t/openstack/build/ffbb82504ef142ee94c2607491d65d41 : SUCCESS in 6m 33s\n- rally-install-ubuntu-focal https://zuul.opendev.org/t/openstack/build/d208b13ba4aa49fb84e0057ed7764b62 : SUCCESS in 6m 13s\n- rally-install-centos-7 https://zuul.opendev.org/t/openstack/build/aa089701568f4bc88f8a7e66f922e2f4 : SUCCESS in 6m 51s\n- rally-install-centos-8 https://zuul.opendev.org/t/openstack/build/af45dffec89940b9a90c49de663014d3 : SUCCESS in 7m 40s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"e4dd6597c437dbcc390c31bcc48c52192a83df5c","revisions":{"19c38ea1f97a18f1b3548a9e19020654b317c26d":{"kind":"REWORK","_number":1,"created":"2020-10-03 06:49:21.000000000","uploader":{"_account_id":31020,"name":"Pratik raj","email":"Rajpratik71@gmail.com","username":"rajpratik71"},"ref":"refs/changes/20/755920/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/rally","ref":"refs/changes/20/755920/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/rally refs/changes/20/755920/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/rally refs/changes/20/755920/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/rally refs/changes/20/755920/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/rally refs/changes/20/755920/1"}}},"commit":{"parents":[{"commit":"23883fa0c9a16318eb7c5dfe64587cbc98f84c3e","subject":"restart the task","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/rally/commit/23883fa0c9a16318eb7c5dfe64587cbc98f84c3e"}]}],"author":{"name":"Pratik Raj","email":"rajpratik71@gmail.com","date":"2020-10-03 06:48:43.000000000","tz":330},"committer":{"name":"Pratik Raj","email":"rajpratik71@gmail.com","date":"2020-10-03 06:49:12.000000000","tz":330},"subject":"optimize size and time using --no-cache-dir","message":"optimize size and time using --no-cache-dir\n\nUsing --no-cache-dir flag in pip install ,make sure dowloaded packages\nby pip don\u0027t cached on system . This is a best practise which make sure\nto fetch ftom repo instead of using local cached one . Further , in case\nof Docker Containers , by restricing caching , we can reduce image size.\nIn term of stats , it depends upon the number of python packages\nmultiplied by their respective size . e.g for heavy packages with a lot\nof dependencies it reduce a lot by don\u0027t caching pip packages.\n\nFurther , more detail information can be found at\n\nhttps://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6\n\nChange-Id: If206e41f3bac6e0b73b57e85c80fa2530ee9d4cf\nSigned-off-by: Pratik Raj \u003crajpratik71@gmail.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/rally/commit/19c38ea1f97a18f1b3548a9e19020654b317c26d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/rally/commit/19c38ea1f97a18f1b3548a9e19020654b317c26d"}]},"branch":"refs/heads/master"},"e4dd6597c437dbcc390c31bcc48c52192a83df5c":{"kind":"TRIVIAL_REBASE","_number":2,"created":"2020-10-12 09:51:04.000000000","uploader":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"ref":"refs/changes/20/755920/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/rally","ref":"refs/changes/20/755920/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/rally refs/changes/20/755920/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/rally refs/changes/20/755920/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/rally refs/changes/20/755920/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/rally refs/changes/20/755920/2"}}},"commit":{"parents":[{"commit":"63006885d0e9e711c2d6a3377e8ad264198badf9","subject":"Fix openstack-tox-docs job","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/rally/commit/63006885d0e9e711c2d6a3377e8ad264198badf9"}]}],"author":{"name":"Pratik Raj","email":"rajpratik71@gmail.com","date":"2020-10-03 06:48:43.000000000","tz":330},"committer":{"name":"Andrey Kurilin","email":"andr.kurilin@gmail.com","date":"2020-10-12 09:51:04.000000000","tz":0},"subject":"optimize size and time using --no-cache-dir","message":"optimize size and time using --no-cache-dir\n\nUsing --no-cache-dir flag in pip install ,make sure dowloaded packages\nby pip don\u0027t cached on system . This is a best practise which make sure\nto fetch ftom repo instead of using local cached one . Further , in case\nof Docker Containers , by restricing caching , we can reduce image size.\nIn term of stats , it depends upon the number of python packages\nmultiplied by their respective size . e.g for heavy packages with a lot\nof dependencies it reduce a lot by don\u0027t caching pip packages.\n\nFurther , more detail information can be found at\n\nhttps://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6\n\nChange-Id: If206e41f3bac6e0b73b57e85c80fa2530ee9d4cf\nSigned-off-by: Pratik Raj \u003crajpratik71@gmail.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/rally/commit/e4dd6597c437dbcc390c31bcc48c52192a83df5c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/rally/commit/e4dd6597c437dbcc390c31bcc48c52192a83df5c"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
