Failing heat_test_resource_type_show functional test

Bug #1482661 reported by Sergey Kraynev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-heatclient
Fix Released
Critical
Sergey Kraynev

Bug Description

Functional test for heatclient fails with follow error:

ft1.16: heatclient.tests.functional.test_readonly_heat.SimpleReadOnlyHeatClientTest.test_heat_resource_type_show_StringException: Empty attachments:
  pythonlogging:''

Traceback (most recent call last):
  File "heatclient/tests/functional/test_readonly_heat.py", line 59, in test_heat_resource_type_show
    rsrc_schema = self.heat('resource-type-show OS::Nova::Server')
  File "heatclient/tests/functional/base.py", line 42, in heat
    return self.clients.heat(*args, **kwargs)
  File "/opt/stack/new/python-heatclient/.tox/functional/local/lib/python2.7/site-packages/tempest_lib/cli/base.py", line 220, in heat
    'heat', action, flags, params, fail_ok, merge_stderr)
  File "/opt/stack/new/python-heatclient/.tox/functional/local/lib/python2.7/site-packages/tempest_lib/cli/base.py", line 355, in cmd_with_auth
    self.cli_dir)
  File "/opt/stack/new/python-heatclient/.tox/functional/local/lib/python2.7/site-packages/tempest_lib/cli/base.py", line 64, in execute
    result_err)
tempest_lib.exceptions.CommandFailed: Command '['/opt/stack/new/python-heatclient/.tox/functional/bin/heat', '--os-username', 'admin', '--os-tenant-name', 'admin', '--os-password', 'secretadmin', '--os-auth-url', 'http://127.0.0.1:5000/v2.0', '--os-endpoint-type', 'publicURL', 'resource-type-show', 'OS::Nova::Server']' returned non-zero exit status 1.
stdout:

stderr:
ERROR: Service nova does not have required endpoint in service catalog for the resource type OS::Nova::Server

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/210460

Changed in python-heatclient:
status: New → In Progress
Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :

putting to critical as it is blocking the gate

Changed in python-heatclient:
importance: High → Critical
Changed in python-heatclient:
milestone: none → 0.7.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/210460
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=948dcb57d2116173d114be2da2db8a9c1eb1a89f
Submitter: Jenkins
Branch: master

commit 948dcb57d2116173d114be2da2db8a9c1eb1a89f
Author: Sergey Kraynev <email address hidden>
Date: Fri Aug 7 10:14:13 2015 -0400

    Use Heat resource to validate resource_type_show

    Patch I01aaadf86bf86f2a01bfd3fd28541522ef5a99cf added new functionality,
    which raise error, if resource related endpoint is not registred in
    keystone. Due to heatclient functional tests job starts only heat and
    keystone service, we should use Heat resources for testing. The good
    candidate for it is OS::Heat::RandomString.

    Change-Id: I274a6db5c886ce8e19968e6e2ae8b16e93315cb7
    Closes-Bug: #1482661

Changed in python-heatclient:
status: In Progress → Fix Committed
Changed in python-heatclient:
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.