← Back to team overview

openstack team mailing list archive

Re: Glance Test Dependencies

 

I typically run 'pip install -r tools/pip-requires -r tools/test-requires' from the root directory. You could also manually translate those lists to a list of ubuntu packages if you prefer not to use pip.

Brian


On Apr 17, 2012, at 5:49 AM, Scott Lavender wrote:

> I have a Jenkins job setup to execute the Glance tests. It will run on my master, but not a slave. Obviously there is a dependency missing on the slave. What is the best way to get a dependency list? I need to get this slave working for all OpenStack tests so that I can clone it...
> 
> FAIL: test_add_clear (glance.tests.functional.test_bin_glance.TestBinGlance)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/var/lib/jenkins/workspace/compute.review.glance/glance/glance/tests/functional/__init__.py", line 61, in wrapped
>     func(*a, **kwargs)
>   File "/var/lib/jenkins/workspace/compute.review.glance/glance/glance/tests/functional/test_bin_glance.py", line 721, in test_add_clear
>     self.start_servers(**self.__dict__.copy())
>   File "/var/lib/jenkins/workspace/compute.review.glance/glance/glance/tests/functional/__init__.py", line 550, in start_servers
>     self.wait_for_servers([self.api_port, self.registry_port])
>   File "/var/lib/jenkins/workspace/compute.review.glance/glance/glance/tests/functional/__init__.py", line 592, in wait_for_servers
>     self.assertFalse(expect_launch, "Unexpected server launch status")
> AssertionError: Unexpected server launch status
> 
> -- 
> Scott Lavender | Cloud Release Engineer
> _____________________________________ _______
> 
> Phone 678.554.3403 • Cell 770.361.5940
> slavender@xxxxxxxxxxxx • www.internap.com
> 
> INTERNAP ® 
> connectivity | colocation | managed hosting | cloud
> 
> One Ravinia Drive • Suite 1300 • Atlanta • GA • 30346
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


References