← Back to team overview

openstack team mailing list archive

Re: Tempest for Integration testing of Openstack (FOLSOM)

 

Hi,

Thanks again.

I am getting this error whenever I
ran *tempest-stable-folsom/tempest/tests/network tests.

======================================================================
ERROR: test suite for <class
'tempest.tests.network.test_networks.NetworksTest'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in
setupContext
    try_run(context, names)
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
    return func()
  File
"/home/controller/tempest-stable-folsom/tempest/tests/network/test_networks.py",
line 28, in setUpClass
    super(NetworksTest, cls).setUpClass()
  File
"/home/controller/tempest-stable-folsom/tempest/tests/network/base.py",
line 39, in setUpClass
    client.list_networks()
  File
"/home/controller/tempest-stable-folsom/tempest/services/network/json/network_client.py",
line 13, in list_networks
    resp, body = self.get('networks')
  File
"/home/controller/tempest-stable-folsom/tempest/common/rest_client.py",
line 166, in get
    return self.request('GET', url, headers)
  File
"/home/controller/tempest-stable-folsom/tempest/common/rest_client.py",
line 203, in request
    raise exceptions.NotFound(resp_body)
NotFound: Object not found
Details: Object not found
Details: 404 Not Found

The resource could not be found.


-------------------- >> begin captured logging << --------------------
tempest.config: INFO: Using tempest config file
/home/controller/tempest-stable-folsom/etc/tempest.conf
tempest.common.rest_client: ERROR: Request URL:
http://192.168.2.170:9696/v2.0/tenants/09b32430cf8548ec8472d29a79fe2ddd/networks
tempest.common.rest_client: ERROR: Request Body: None
tempest.common.rest_client: ERROR: Response Headers: {'date': 'Tue, 12 Mar
2013 11:47:32 GMT', 'status': '404', 'content-length': '52',
'content-type': 'text/plain; charset=UTF-8'}
tempest.common.rest_client: ERROR: Response Body: 404 Not Found

The resource could not be found.


--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 0 tests in 0.186s

FAILED (errors=1)

Please help me out.

Thanks and Regards,
Girija Sharan Singh


On Tue, Mar 12, 2013 at 8:50 PM, Jay Pipes <jaypipes@xxxxxxxxx> wrote:

> On 03/12/2013 11:14 AM, Girija Sharan wrote:
> > But the tests in *tempest-stable-folsom/tempest/tests/network *are not
> > running in Folsom with Quantum. All other tests are running fine.
> > Someone said that this stable-folsom release of tempest is not for
> > testing Quantum in Folsom.
> > Is it true ? If yes then how do I test my Quantum in Folsom deployment
> > using Tempest ?
>
> I'm sorry, I don't know how to answer your question without seeing the
> errors you are getting when running Tempest.
>
> -jay
>

Follow ups

References