Jenkins failed due to missing _ in alarm/threshold_evaluation.py

Bug #1212116 reported by Feilong Wang
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Feilong Wang

Bug Description

Jenkins failed due to missing _ in alarm/threshold_evaluation.py

2013-08-14 06:02:40.149 | FAIL: tests.alarm.test_threshold_evaluation.TestEvaluate.test_retry_transient_api_failure
2013-08-14 06:02:40.149 | tags: worker-1
2013-08-14 06:02:40.150 | ----------------------------------------------------------------------
2013-08-14 06:02:40.150 | Empty attachments:
2013-08-14 06:02:40.150 | pythonlogging:''
2013-08-14 06:02:40.151 |
2013-08-14 06:02:40.151 | Traceback (most recent call last):
2013-08-14 06:02:40.151 | File "/home/jenkins/workspace/gate-ceilometer-python27/tests/alarm/test_threshold_evaluation.py", line 88, in test_retry_transient_api_failure
2013-08-14 06:02:40.152 | self.evaluator.evaluate()
2013-08-14 06:02:40.152 | File "/home/jenkins/workspace/gate-ceilometer-python27/ceilometer/alarm/threshold_evaluation.py", line 205, in evaluate
2013-08-14 06:02:40.152 | LOG.info(_('initiating evaluation cycle on %d alarms') %
2013-08-14 06:02:40.152 | NameError: global name '_' is not defined

Feilong Wang (flwang)
summary: - Jekins failed due to missing _ in alarm/threshold_evaluation.py
+ Jenkins failed due to missing _ in alarm/threshold_evaluation.py
Changed in ceilometer:
status: New → In Progress
assignee: nobody → Fei Long Wang (flwang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/41846

Revision history for this message
Terri Yu (terriyu) wrote :

Note this is the same bug as the one reported here: https://bugs.launchpad.net/ceilometer/+bug/1211975

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/41846
Committed: http://github.com/openstack/ceilometer/commit/1f9714b58c1eb723fcea8248b91820abf379b8de
Submitter: Jenkins
Branch: master

commit 1f9714b58c1eb723fcea8248b91820abf379b8de
Author: Fei Long Wang <email address hidden>
Date: Wed Aug 14 14:33:20 2013 +0800

    Fix Jenkins failed due to missing _

    Fixes bug 1212116

    Change-Id: Id1e0856c195c19ef6ec7321e5c5435bff0f7d20f

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.