Could not find any downloads that satisfy the requirement X

Bug #1334550 reported by Antoine "hashar" Musso
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Low
Unassigned
OpenStack-Gate
Fix Released
Low
Unassigned

Bug Description

The Zuul change got prevented from gating properly because the pep8 job failed finding a dependency in pypi.

The change: https://review.openstack.org/#/c/102030/
Console: http://logs.openstack.org/30/102030/3/gate/gate-zuul-pep8/f9209fb/console.html#_2014-06-25_20_18_47_974

2014-06-25 20:18:47.973 | Downloading/unpacking apscheduler>=2.1.1,<3.0 (from -r /home/jenkins/workspace/gate-zuul-pep8/requirements.txt (line 16))
2014-06-25 20:18:47.974 | http://pypi.openstack.org/openstack/apscheduler/ uses an insecure transport scheme (http). Consider using https if pypi.openstack.org has it available
2014-06-25 20:18:47.974 | http://pypi.python.org/simple/apscheduler/ uses an insecure transport scheme (http). Consider using https if pypi.python.org has it available
2014-06-25 20:18:47.974 | Could not find any downloads that satisfy the requirement apscheduler>=2.1.1,<3.0 (from -r /home/jenkins/workspace/gate-zuul-pep8/requirements.txt (line 16))
2014-06-25 20:18:47.974 | Cleaning up...
2014-06-25 20:18:47.974 | No distributions at all found for apscheduler>=2.1.1,<3.0 (from -r /home/jenkins/workspace/gate-zuul-pep8/requirements.txt (line 16))
2014-06-25 20:18:47.974 | Storing debug log for failure in /home/jenkins/.pip/pip.log
2014-06-25 20:18:47.974 |
2014-06-25 20:18:47.974 | ERROR: could not install deps [-r/home/jenkins/workspace/gate-zuul-pep8/requirements.txt, -r/home/jenkins/workspace/gate-zuul-pep8/test-requirements.txt]

Looking in http://logstash.openstack.org/ from time to time. I have used the search query:

 message:"Could not find any downloads" AND tags:console.htmlthat happens

That is probably a transient error though that would happen on both pypi and the openstack pypi mirror.

Tags: gate-failure
Revision history for this message
Jeremy Stanley (fungi) wrote :

Since appscheduler isn't something we have in our mirror, the job fell back to looking on pypi.python.org and for whatever reason failed to find an appropriate package version there (though when I look, there are a couple).

Changed in openstack-ci:
status: New → Triaged
importance: Undecided → Low
tags: added: gate-failure
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to elastic-recheck (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/104432

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to elastic-recheck (master)

Reviewed: https://review.openstack.org/104432
Committed: https://git.openstack.org/cgit/openstack-infra/elastic-recheck/commit/?id=2139d95bb73a8522496b4f36e1ece133ad09d01d
Submitter: Jenkins
Branch: master

commit 2139d95bb73a8522496b4f36e1ece133ad09d01d
Author: Matt Riedemann <email address hidden>
Date: Wed Jul 2 20:25:45 2014 -0700

    Add query for pypi mirror infra bug 1334550

    This has 327 hits in 7 days, multiple queues and jobs,
    it's mostly failures but has a few hits on successful
    jobs. I tried filtering success vs failure to see if there
    was some obvious difference for the success hits but
    couldn't find one, so risk-assuming that the low
    success rate will stay low to avoid false-hits.

    Change-Id: I2ef8fedec07d3a62020d272ab4b0347257a2e5ef
    Related-Bug: #1334550

Revision history for this message
James E. Blair (corvus) wrote :

This should be handled by our switch to the bandersnatch mirror.

Changed in openstack-ci:
status: Triaged → Fix Released
Jeremy Stanley (fungi)
Changed in openstack-gate:
status: New → Fix Released
importance: Undecided → Low
Revision history for this message
Christian Schwede (cschwede) wrote :

Looks like there is a dependency missing on the mirror:

2015-03-31 07:46:48.506 | Collecting XStatic-Angular-Irdragndrop>=1.0.2.1 (from horizon==2015.1.dev110)
2015-03-31 07:46:48.521 | HTTP error 404 while getting http://pypi.region-b.geo-1.openstack.org/packages/source/X/XStatic-Angular-Irdragndrop/XStatic-Angular-Irdragndrop-1.0.2.1.tar.gz#md5=7f57941bb72f83fe01875152ddb24ce1 (from http://pypi.region-b.geo-1.openstack.org/simple/xstatic-angular-irdragndrop/)
2015-03-31 07:46:48.522 | Could not install requirement XStatic-Angular-Irdragndrop>=1.0.2.1 (from horizon==2015.1.dev110) because of error 404 Client Error: Not Found
2015-03-31 07:46:48.878 | Could not install requirement XStatic-Angular-Irdragndrop>=1.0.2.1 (from horizon==2015.1.dev110) because of HTTP error 404 Client Error: Not Found for URL http://pypi.region-b.geo-1.openstack.org/packages/source/X/XStatic-Angular-Irdragndrop/XStatic-Angular-Irdragndrop-1.0.2.1.tar.gz#md5=7f57941bb72f83fe01875152ddb24ce1 (from http://pypi.region-b.geo-1.openstack.org/simple/xstatic-angular-irdragndrop/)

This happened at least on these two jobs:

http://logs.openstack.org/09/168509/6/check/check-swift-dsvm-functional/aeb35a3/logs/devstacklog.txt.gz

http://logs.openstack.org/35/169035/1/gate/gate-tempest-dsvm-full/76685d8/logs/devstacklog.txt.gz

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.