build-test-packages failure on upgrading pip

Bug #1655107 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo-quickstart
Fix Released
Undecided
wes hayutin

Bug Description

Developers may hit this issue when running devmode.sh from time to time.

TASK [build-test-packages : Update pip before requirements install] ************
task path: /var/tmp/containers/usr/local/share/ansible/roles/build-test-packages/tasks/main.yml:49
Monday 09 January 2017 12:59:45 -0500 (0:00:03.353) 0:02:59.048 ********
fatal: [whayutin-testbox2]: FAILED! => {"changed": false, "cmd": "/usr/bin/pip2 install -U pip", "failed": true, "msg": "stdout: Collecting pip\n Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)\nInstalling collected packages: pip\n Found existing installation: pip 8.1.2\n Uninstalling pip-8.1.2:\n\n:stderr: Exception:\nTraceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg/pip/basecommand.py\", line 215, in main\n status = self.run(options, args)\n File \"/usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg/pip/commands/install.py\", line 317, in run\n prefix=options.prefix_path,\n File \"/usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_set.py\", line 736, in install\n requirement.uninstall(auto_confirm=True)\n File \"/usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_install.py\", line 742, in uninstall\n paths_to_remove.remove(auto_confirm)\n File \"/usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_uninstall.py\", line 115, in remove\n renames(path, new_path)\n File \"/usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg/pip/utils/__init__.py\", line 267, in renames\n shutil.move(old, new)\n File \"/usr/lib64/python2.7/shutil.py\", line 302, in move\n os.unlink(src)\nOSError: [Errno 13] Permission denied: '/usr/bin/pip'\nYou are using pip version 8.1.2, however version 9.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}

wes hayutin (weshayutin)
Changed in tripleo-quickstart:
status: New → In Progress
assignee: nobody → wes hayutin (weshayutin)
Revision history for this message
Attila Darazs (adarazs) wrote :

I'm not sure what's up with launchpad not tracking the gerrit commit messages when it states "Closes-bug: #xxx". This is again merged and fixed (thanks Wes!), with:

https://review.openstack.org/418057

Changed in tripleo-quickstart:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.