Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/declarative-http-tests. Description: This spec proposes a suite of "grey-box" tests for the Ceilometer HTTP API that are driven by one or several human-readable text files that declare URL requests alongside expected responses. These tests will provide end to end tests of API endpoints that in addition to confirming the functionality of the API will provide a cogent and readable overview of the HTTP API. Specification URL (additional information): https://github.com/openstack/ceilometer-specs/blob/master/specs/kilo/declarative-http-tests.rst
Running test manually: gabbi-run X.X.X.X:8777 < /usr/lib/python2.7/site-packages/ceilometer/tests/gabbi/gabbits/alarms.yaml ... ✓ list alarms none: Lists alarms, none yet exist ... o try to PUT an alarm: what does PUT do [expected failure] ... o createAlarm: Creates an alarm. [expected failure] ... ✓ showAlarm: Shows information for a specified alarm. ... ✓ updateAlarm: Updates a specified alarm. ... ✓ showAlarmHistory: Assembles the history for a specified alarm. ... ✓ updateAlarmState: Sets the state of a specified alarm. ... ✓ list alarms for data: Lists alarms, only one ... ✓ showAlarmState: Gets the state of a specified alarm. ... ✓ list alarms one: Lists alarms, only one ... ✓ deleteAlarm: Deletes a specified alarm. ... ✓ list alarms none end: Lists alarms, none now exist ---------------------------------------------------------------------- Ran 12 tests in 0.659s OK (expected failures=2)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2015:1548