test_template_resource.TemplateResourceSuspendResumeTest.test_suspend_resume fails on Mitaka gate

Bug #1523903 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
New
Medium
Unassigned

Bug Description

Heat integration job [1] failed with error:

heat_integrationtests.functional.test_template_resource.TemplateResourceSuspendResumeTest.test_suspend_resume
2015-12-08 11:52:11.281 | 2015-12-08 11:52:11.259 | -------------------------------------------------------------------------------------------------------------
2015-12-08 11:52:11.283 | 2015-12-08 11:52:11.261 |
2015-12-08 11:52:11.284 | 2015-12-08 11:52:11.263 | Captured traceback:
2015-12-08 11:52:11.314 | 2015-12-08 11:52:11.266 | ~~~~~~~~~~~~~~~~~~~
2015-12-08 11:52:11.314 | 2015-12-08 11:52:11.269 | Traceback (most recent call last):
2015-12-08 11:52:11.314 | 2015-12-08 11:52:11.271 | File "heat_integrationtests/functional/test_template_resource.py", line 760, in test_suspend_resume
2015-12-08 11:52:11.315 | 2015-12-08 11:52:11.274 | self.stack_suspend(stack_identifier=stack_identifier)
2015-12-08 11:52:11.315 | 2015-12-08 11:52:11.276 | File "heat_integrationtests/common/test.py", line 545, in stack_suspend
2015-12-08 11:52:11.315 | 2015-12-08 11:52:11.280 | self._handle_in_progress(self.client.actions.suspend, stack_name)
2015-12-08 11:52:11.315 | 2015-12-08 11:52:11.282 | File "heat_integrationtests/common/test.py", line 348, in _handle_in_progress
2015-12-08 11:52:11.316 | 2015-12-08 11:52:11.286 | fn(*args, **kwargs)
2015-12-08 11:52:11.316 | 2015-12-08 11:52:11.289 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/heatclient/v1/actions.py", line 39, in suspend
2015-12-08 11:52:11.316 | 2015-12-08 11:52:11.291 | self.client.post('/stacks/%s/actions' % stack_id, data=body)
2015-12-08 11:52:11.317 | 2015-12-08 11:52:11.294 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/heatclient/common/http.py", line 287, in post
2015-12-08 11:52:11.318 | 2015-12-08 11:52:11.297 | return self.client_request("POST", url, **kwargs)
2015-12-08 11:52:11.321 | 2015-12-08 11:52:11.299 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/heatclient/common/http.py", line 277, in client_request
2015-12-08 11:52:11.323 | 2015-12-08 11:52:11.301 | resp, body = self.json_request(method, url, **kwargs)
2015-12-08 11:52:11.326 | 2015-12-08 11:52:11.304 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/heatclient/common/http.py", line 266, in json_request
2015-12-08 11:52:11.328 | 2015-12-08 11:52:11.307 | resp = self._http_request(url, method, **kwargs)
2015-12-08 11:52:11.330 | 2015-12-08 11:52:11.309 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/heatclient/common/http.py", line 228, in _http_request
2015-12-08 11:52:11.355 | 2015-12-08 11:52:11.311 | resp = self._http_request(path, method, **kwargs)
2015-12-08 11:52:11.355 | 2015-12-08 11:52:11.313 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/heatclient/common/http.py", line 221, in _http_request
2015-12-08 11:52:11.361 | 2015-12-08 11:52:11.316 | raise exc.from_response(resp)
2015-12-08 11:52:11.361 | 2015-12-08 11:52:11.319 | heatclient.exc.HTTPInternalServerError: ERROR: Remote error: ResourceClosedError This result object does not return rows. It has been closed automatically.
2015-12-08 11:52:11.361 | 2015-12-08 11:52:11.323 | [u'

http://logs.openstack.org/53/254653/1/check/gate-heat-dsvm-functional-orig-mysql/5e08ded/console.html

Tags: gate-failure
Revision history for this message
Steven Hardy (shardy) wrote :
Download full text (9.3 KiB)

Looking at the heat log from the CI run mentioned:

2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2575, in _connection_from_session
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher **kw)
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 893, in connection
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher execution_options=execution_options)
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 900, in _connection_for_bind
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher conn = engine.contextual_connect(**kw)
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2041, in contextual_connect
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher **kwargs)
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 92, in __init__
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher self.dispatch.engine_connect(self, self.__branch)
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/event/attr.py", line 256, in __call__
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher fn(*args, **kw)
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 72, in _connect_ping_listener
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher connection.scalar(select([1]))
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 844, in scalar
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher return self.execute(object, *multiparams, **params).scalar()
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 1064, in scalar
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher row = self.first()
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 1038, in first
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher return self._non_result(None)
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 920, in _non_result
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher "This result object does not return rows. "
2015-12-08 11:49:58.612 31410 ERROR oslo_messaging.rpc.dispatcher ResourceClosedError: This result object does not return rows. It has been closed automatically.
2015-12-08 11:49:58.6...

Read more...

tags: added: gate-failure
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.