run unittests failed for ceilometer.conf.sample is not up to date

Bug #1293482 reported by Liusheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Undecided
Liusheng

Bug Description

I have did next steps in /opt/stack/ceilometer:

1. git checkout master
2.git pull
3.tox -e py27

It will raise an error like this:

======================================================================
FAIL: process-returncode
tags: worker-1
----------------------------------------------------------------------
Binary content:
  traceback (test/plain; charset="utf8")
Ran 3036 (+3032) tests in 82.630s (+81.465s)
FAILED (id=56, failures=8 (+8), skips=1298)
error: testr failed (1)
+ clean_exit
+ local error_code=1
+ rm -rf /tmp/CEILO-MONGODB-3uBWl
++ jobs -p
+ kill 27711 27751
+ return 1
ERROR: InvocationError: '/bin/bash -x /opt/stack/ceilometer/setup-test-env.sh python setup.py testr --slowest --testr-args='
py27 runtests: commands[1] | /opt/stack/ceilometer/tools/config/check_uptodate.sh
--- /tmp/ceilometer.msYqvx/ceilometer.conf.sample 2014-03-17 17:56:22.075330101 +0800
+++ etc/ceilometer/ceilometer.conf.sample 2014-03-17 17:18:31.059360962 +0800
@@ -363,7 +363,7 @@

 # The RabbitMQ broker address where a single node is used
 # (string value)
-#rabbit_host=ceilometer
+#rabbit_host=localhost

 # The RabbitMQ broker port where a single node is used
 # (integer value)
@@ -407,7 +407,7 @@
 #

 # Qpid broker hostname (string value)
-#qpid_hostname=ceilometer
+#qpid_hostname=localhost

 # Qpid broker port (integer value)
 #qpid_port=5672
check_uptodate.sh: ceilometer.conf.sample is not up to date.
check_uptodate.sh: Please run /opt/stack/ceilometer/tools/config/generate_sample.sh.
ERROR: InvocationError: '/opt/stack/ceilometer/tools/config/check_uptodate.sh'
_________________________________________________________________________________________________________________ summary _____
ERROR: py27: commands failed

Liusheng (liusheng)
Changed in ceilometer:
assignee: nobody → Liusheng (liusheng)
Revision history for this message
Julien Danjou (jdanjou) wrote :

Works fine on OpenStack CI.

Changed in ceilometer:
status: New → Invalid
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.