unittest test_by_user_period() failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
Doug Hellmann |
Bug Description
Using the latest ceilometer master, with commit id:54432375ac8c
when running "tox -e py27-folsom,py27", sometimes the unittest case test_by_user_period fails with the following output:
=======
FAIL: test_by_user_period (tests.
-------
Traceback (most recent call last):
File "/opt/stack/
datetime.
AssertionError: datetime.
'datetime.
'datetime.
>> raise self.failureExc
-------
ceilometer.
ceilometer.
-------
-------
Ran 630 tests in 9.134s
FAILED (failures=1)
ERROR: InvocationError: '/opt/stack/
_______
ERROR: py27-folsom: commands failed
ERROR: py27: commands failed
This error is not always reproducible. Sometimes it happens and sometimes it doesn't.
The problem looks like that the data returned by the query into Ming is not always in the same order as we expected in the patch https:/
Changed in ceilometer: | |
assignee: | nobody → Doug Hellmann (doug-hellmann) |
milestone: | none → grizzly-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | grizzly-rc1 → 2013.1 |
Reviewed: https:/ /review. openstack. org/23797 github. com/openstack/ ceilometer/ commit/ df0a2ca24be6229 e29b7cb340f8286 a54a726ebf
Committed: http://
Submitter: Jenkins
Branch: master
commit df0a2ca24be6229 e29b7cb340f8286 a54a726ebf
Author: Lianhao Lu <email address hidden>
Date: Thu Mar 7 17:52:22 2013 +0800
Fix oslo.config and unittest.
Switch to the new oslo.config package which was renamed from
oslo-config.
Use python- keystoneclient master version as a temporary workaround for
bug #1151665.
Temporary workdaround of the bug #1151345 by comment out the test code
to pass the jenkin's gate test.
Change-Id: I7c223f3e98c5d3 3993b345d93c27f 97d3d926d80