[openstack-dev] [Ceilometer][HBase] Failed to run tox with master code on local environment

ZhiQiang Fan aji.zqfan at gmail.com
Thu Oct 30 23:13:32 UTC 2014


Hi, devs,

When I run tox -epy27 -- alarms (fresh install with tox -r), it shows that
may test case for hbase failed, I notice that jenkins runs well. I'm
wondering are there any further steps needed to be taken before run tox
locally? If so, which recent changes causes it?


part of screen output:

FAIL:
ceilometer.tests.api.v2.test_alarm_scenarios.TestAlarms.test_alarm_sends_notification(hbase)
tags: worker-1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "ceilometer/tests/base.py", line 99, in skip_if_not_implemented
    return func(*args, **kwargs)
  File "ceilometer/tests/api/v2/test_alarm_scenarios.py", line 2092, in
test_alarm_sends_notification
    headers=self.auth_headers, status=204)
  File "ceilometer/tests/api/__init__.py", line 136, in delete
    expect_errors=expect_errors)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 421, in delete
    content_type=content_type)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 734, in _gen_request
    expect_errors=expect_errors)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 630, in do_request
    self._check_status(status, res)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 665, in _check_status
    "Bad response: %s (not %s)", res_status, status)
AppError: Bad response: 500 Internal Server Error (not 204)
Traceback (most recent call last):
_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "ceilometer/tests/base.py", line 99, in skip_if_not_implemented
    return func(*args, **kwargs)
  File "ceilometer/tests/api/v2/test_alarm_scenarios.py", line 2092, in
test_alarm_sends_notification
    headers=self.auth_headers, status=204)
  File "ceilometer/tests/api/__init__.py", line 136, in delete
    expect_errors=expect_errors)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 421, in delete
    content_type=content_type)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 734, in _gen_request
    expect_errors=expect_errors)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 630, in do_request
    self._check_status(status, res)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 665, in _check_status
    "Bad response: %s (not %s)", res_status, status)
AppError: Bad response: 500 Internal Server Error (not 204)

Traceback (most recent call last):
_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "ceilometer/tests/base.py", line 99, in skip_if_not_implemented
    return func(*args, **kwargs)
  File "ceilometer/tests/api/v2/test_alarm_scenarios.py", line 2092, in
test_alarm_sends_notification
    headers=self.auth_headers, status=204)
  File "ceilometer/tests/api/__init__.py", line 136, in delete
    expect_errors=expect_errors)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 421, in delete
    content_type=content_type)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 734, in _gen_request
    expect_errors=expect_errors)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 630, in do_request
    self._check_status(status, res)
  File
"/home/zqfan/openstack/ceilometer-master/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py",
line 665, in _check_status
    "Bad response: %s (not %s)", res_status, status)
AppError: Bad response: 500 Internal Server Error (not 204)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141031/57fc13e7/attachment.html>


More information about the OpenStack-dev mailing list