** Project changed: nova => tempest

** Changed in: tempest
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1293433

Title:
  tempest test.py new_url not defined

Status in Tempest:
  New

Bug description:
  When I run some tempest test, I found the following error. It seems in
  the /opt/stack/tempest/tempest/test.py, the var might be not defined.

  Traceback (most recent call last):
    File 
"/opt/stack/tempest/tempest/api/compute/flavors/test_flavors_negative.py", line 
52, in test_get_flavor_details
      self.execute(self._schema_file)
    File "/opt/stack/tempest/tempest/test.py", line 519, in execute
      resp, resp_body = client.send_request(method, new_url,
  UnboundLocalError: local variable 'new_url' referenced before assignment

  -------------------- >> begin captured logging << --------------------
  tempest.test: DEBUG: Open schema file: 
/opt/stack/tempest/etc/schemas/compute/flavors/flavors_list.json
  tempest.test: DEBUG: {u'url': u'flavors/detail', u'http-method': u'GET', 
u'name': u'list-flavors-with-detail', u'json-schema': {u'type': u'object', 
u'properties': {u'minRam': {u'type': u'integer', u'results': {u'gen_none': 400, 
u'gen_string': 400}}, u'minDisk': {u'type': u'integer', u'results': 
{u'gen_none': 400, u'gen_string': 400}}}}}
  tempest.test: DEBUG: Open schema file: 
/opt/stack/tempest/etc/schemas/compute/flavors/flavor_details.json
  tempest.test: INFO: Executing get-flavor-details
  tempest.test: DEBUG: {u'url': u'flavors/%s', u'http-method': u'GET', u'name': 
u'get-flavor-details', u'resources': [{u'expected_result': 404, u'name': 
u'flavor'}]}
  --------------------- >> end captured logging << ---------------------

  ----------------------------------------------------------------------
  Ran 1 test in 0.142s

To manage notifications about this bug go to:
https://bugs.launchpad.net/tempest/+bug/1293433/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to