virtualenv failed to install because Twisted-10.0.0Nova.tar.gz missing

Bug #818210 reported by Lorin Hochstein
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Brian Waldon

Bug Description

Because http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz is no longer available, running unit tests with virtualenv will fail with this error:

Downloading/unpacking http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz
  HTTP error 404 while getting http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz
  Could not install requirement http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz because of error HTTP Error 404: Not Found
Could not install requirement http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz because of HTTP error HTTP Error 404: Not Found for URL http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz
Storing complete log in /var/lib/hudson/.pip/pip.log
Command "tools/with_venv.sh pip install -E /var/lib/hudson/jobs/nova-trunk/workspace/.nova-venv http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz" failed.
None
done.
Creating venv... done.
Installing pip in virtualenv... done.
Installing dependencies with pip (this can take a while)...
ERROR

======================================================================
ERROR: <nose.suite.ContextSuite context=nova.tests>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/hudson/jobs/nova-trunk/workspace/.nova-venv/lib/python2.6/site-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/var/lib/hudson/jobs/nova-trunk/workspace/.nova-venv/lib/python2.6/site-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/var/lib/hudson/jobs/nova-trunk/workspace/.nova-venv/lib/python2.6/site-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/var/lib/hudson/jobs/nova-trunk/workspace/.nova-venv/lib/python2.6/site-packages/nose/util.py", line 478, in try_run
    return func()
  File "/var/lib/hudson/jobs/nova-trunk/workspace/nova/tests/__init__.py", line 75, in setup
    cleandb = os.path.join(FLAGS.state_path, FLAGS.sqlite_clean_db)
  File "/var/lib/hudson/jobs/nova-trunk/workspace/nova/flags.py", line 144, in __getattr__
    val = gflags.FlagValues.__getattr__(self, name)
  File "/var/lib/hudson/jobs/nova-trunk/workspace/.nova-venv/lib/python2.6/site-packages/gflags.py", line 810, in __getattr__
    raise AttributeError(name)
AttributeError: sqlite_clean_db

Related branches

Lorin Hochstein (lorinh)
tags: added: venv
tags: added: unit-tests
Revision history for this message
Justin Shepherd (jshepher) wrote :

That is odd, revno 464 added a dependency for Twisted>=10.1.0 to pip-requires, and on my latest tools/install_venv.py it pulled and installed Twisted-11.0.0.tar.bz2.

Brian Waldon (bcwaldon)
Changed in nova:
assignee: nobody → Brian Waldon (bcwaldon)
status: New → In Progress
Revision history for this message
Justin Shepherd (jshepher) wrote :

i am a moron.. did not see the following in tools/install_venv.py:

34 TWISTED_NOVA = 'http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz'

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-4
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-4 → 2011.3
status: Fix Committed → 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.