← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1321797] Re: Tempest fails on backports to Icehouse

 

So the issue here was actually a bug in devstack-gate, which broke the
icehouse grenade jobs for tempest master which allowed this new test to
be added when it wouldn't work. It has been removed with:

http://git.openstack.org/cgit/openstack/tempest/commit/?id=7e83c6473a13eae3d91c5803b89d32b0dbe60995

and the devstack-gate bug was fixed with:

http://git.openstack.org/cgit/openstack-infra/devstack-
gate/commit/?id=6bd3b4a1fffc697eaae54f79c9f98df82133e186

With the move to branchless tempest, tests for new features in Juno need
to be properly decorated so that the new feature is only run on master.
(or the branches that support it moving forward) The cert tests didn't
work on the older releases so they shouldn't have been merged without
the proper flag to make running the tests conditional on support for the
feature.

** Changed in: tempest
       Status: New => Fix Released

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1321797

Title:
  Tempest fails on backports to Icehouse

Status in Grenade - OpenStack upgrade testing:
  Invalid
Status in OpenStack Identity (Keystone):
  Incomplete
Status in Tempest:
  Fix Released

Bug description:
  There are two patches that backport fixes to stable/icehouse and they
  both fail the same way on
  tempest.api.identity.admin.v3.test_certificates.*

  https://review.openstack.org/#/c/94406/
  https://review.openstack.org/#/c/90809/

  Tracebacks:

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "tempest/api/identity/admin/v3/test_certificates.py", line 33, in test_get_ca_certificate
          resp, certificate = self.client.get_ca_certificate()
        File "tempest/services/identity/v3/json/identity_client.py", line 455, in get_ca_certificate
          resp, body = self.get("OS-SIMPLE-CERT/ca")
        File "tempest/common/rest_client.py", line 212, in get
          return self.request('GET', url, extra_headers, headers)
        File "tempest/common/rest_client.py", line 410, in request
          resp, resp_body)
        File "tempest/common/rest_client.py", line 454, in _error_checker
          raise exceptions.NotFound(resp_body)
      NotFound: Object not found
      Details: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
      
  Captured pythonlogging:
  ~~~~~~~~~~~~~~~~~~~~~~~
      2014-05-20 18:43:00,921 Request (CertificatesV3TestJSON:test_get_ca_certificate): 200 POST http://127.0.0.1:5000/v2.0/tokens
      2014-05-20 18:43:00,955 Request (CertificatesV3TestJSON:test_get_ca_certificate): 404 GET http://127.0.0.1:35357/v3/OS-SIMPLE-CERT/ca 0.032s
      
  {0} tempest.api.identity.admin.v3.test_certificates.CertificatesV3TestJSON.test_get_certificates [0.008026s] ... FAILED

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "tempest/api/identity/admin/v3/test_certificates.py", line 41, in test_get_certificates
          resp, certificates = self.client.get_certificates()
        File "tempest/services/identity/v3/json/identity_client.py", line 460, in get_certificates
          resp, body = self.get("OS-SIMPLE-CERT/certificates")
        File "tempest/common/rest_client.py", line 212, in get
          return self.request('GET', url, extra_headers, headers)
        File "tempest/common/rest_client.py", line 410, in request
          resp, resp_body)
        File "tempest/common/rest_client.py", line 454, in _error_checker
          raise exceptions.NotFound(resp_body)
      NotFound: Object not found
      Details: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}

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


References