Installing test-requirements fails because pysendfile.2.0.0.tar.gz cannot be found

Bug #1314968 reported by Erno Kuvaja
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Erno Kuvaja
Icehouse
Fix Released
High
Alan Pevec

Bug Description

2014-05-01 01:43:10.804 | Downloading/unpacking pysendfile==2.0.0 (from -r /home/jenkins/workspace/gate-glance-pep8/test-requirements.txt (line 23))
2014-05-01 01:43:10.804 | http://pypi.openstack.org/openstack/pysendfile/2.0.0 uses an insecure transport scheme (http). Consider using https if pypi.openstack.org has it available
2014-05-01 01:43:10.804 | http://pypi.openstack.org/openstack/pysendfile/ uses an insecure transport scheme (http). Consider using https if pypi.openstack.org has it available
2014-05-01 01:43:10.804 | http://pysendfile.googlecode.com/files/pysendfile-2.0.0.tar.gz uses an insecure transport scheme (http). Consider using https if pysendfile.googlecode.com has it available
2014-05-01 01:43:10.804 | HTTP error 404 while getting http://pysendfile.googlecode.com/files/pysendfile-2.0.0.tar.gz (from -f)
2014-05-01 01:43:10.804 | Cleaning up...
2014-05-01 01:43:10.804 | Exception:
2014-05-01 01:43:10.804 | Traceback (most recent call last):
2014-05-01 01:43:10.804 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
2014-05-01 01:43:10.804 | status = self.run(options, args)
2014-05-01 01:43:10.805 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/local/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
2014-05-01 01:43:10.805 | requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
2014-05-01 01:43:10.805 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/local/lib/python2.7/site-packages/pip/req.py", line 1197, in prepare_files
2014-05-01 01:43:10.805 | do_download,
2014-05-01 01:43:10.805 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/local/lib/python2.7/site-packages/pip/req.py", line 1375, in unpack_url
2014-05-01 01:43:10.805 | self.session,
2014-05-01 01:43:10.805 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/local/lib/python2.7/site-packages/pip/download.py", line 547, in unpack_http_url
2014-05-01 01:43:10.805 | resp.raise_for_status()
2014-05-01 01:43:10.805 | File "/home/jenkins/workspace/gate-glance-pep8/.tox/pep8/local/lib/python2.7/site-packages/pip/_vendor/requests/models.py", line 773, in raise_for_status
2014-05-01 01:43:10.805 | raise HTTPError(http_error_msg, response=self)
2014-05-01 01:43:10.805 | HTTPError: 404 Client Error: Not Found
2014-05-01 01:43:10.805 |
2014-05-01 01:43:10.806 | Storing debug log for failure in /home/jenkins/.pip/pip.log
2014-05-01 01:43:10.806 |
2014-05-01 01:43:10.806 | ERROR: could not install deps [-r/home/jenkins/workspace/gate-glance-pep8/requirements.txt, -r/home/jenkins/workspace/gate-glance-pep8/test-requirements.txt]

Following fix would be submitted against this bug:
index bef062d..986b853 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -19,7 +19,6 @@ psutil>=1.1.1
 # Optional packages that should be installed when testing
 MySQL-python
 psycopg2
--f http://pysendfile.googlecode.com/files/pysendfile-2.0.0.tar.gz
 pysendfile==2.0.0
 qpid-python
 xattr>=0.4

Erno Kuvaja (jokke)
Changed in glance:
assignee: nobody → Erno Kuvaja (jokke)
status: New → In Progress
Revision history for this message
Erno Kuvaja (jokke) wrote :

For some reason the change was not linked here.
https://review.openstack.org/#/c/91547/

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/91547
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=ed816a214be8acc17d75f68e6c2552fd3b1ad56f
Submitter: Jenkins
Branch: master

commit ed816a214be8acc17d75f68e6c2552fd3b1ad56f
Author: Erno Kuvaja <email address hidden>
Date: Thu May 1 10:51:44 2014 +0000

    Fixes installation of test-requirements

    pip install fails because the "-f http...pysendfile.2.0.0.tar.gz"
    returns 404. pip will install pysendfile 2.0.0 without defining
    the url.

    Ref: http://code.google.com/p/pysendfile/issues/detail?id=20&can=1

    Closes bug 1314968

    Change-Id: I15baf378b37841f8abb21294efebe2dee95077c3

Changed in glance:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/96432

Alan Pevec (apevec)
Changed in glance:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/icehouse)

Reviewed: https://review.openstack.org/96432
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=e96a53a68b2ed1ce9b98661b07f8071e789d2319
Submitter: Jenkins
Branch: stable/icehouse

commit e96a53a68b2ed1ce9b98661b07f8071e789d2319
Author: Erno Kuvaja <email address hidden>
Date: Thu May 1 10:51:44 2014 +0000

    Fixes installation of test-requirements

    pip install fails because the "-f http...pysendfile.2.0.0.tar.gz"
    returns 404. pip will install pysendfile 2.0.0 without defining
    the url.

    Ref: http://code.google.com/p/pysendfile/issues/detail?id=20&can=1

    Closes bug 1314968

    Change-Id: I15baf378b37841f8abb21294efebe2dee95077c3
    (cherry picked from commit ed816a214be8acc17d75f68e6c2552fd3b1ad56f)

Thierry Carrez (ttx)
Changed in glance:
milestone: none → juno-1
status: Fix Committed → Fix Released
Revision history for this message
Sean Dague (sdague) wrote :

Dropped from ER tracking

Thierry Carrez (ttx)
Changed in glance:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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