opendaylight TestClientHTTPSDigestAuth tests do not properly initialize the oslo config

Bug #1482740 reported by Chris Dent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Chris Dent

Bug Description

Because of $Summary sometimes there are test failures as those in http://logs.openstack.org/03/210503/1/check/gate-ceilometer-python34/a84cd36/console.html#_2015-08-07_16_43_23_269

This is because the tests use but do not initialize config. Sometimes the global is properly initialized for them by some other test, sometimes not, depends on test distribution. You can make it happen by hand locally by running the test in isolation.

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/210582

Changed in ceilometer:
status: New → In Progress
Changed in ceilometer:
importance: Undecided → Medium
milestone: none → liberty-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/210582
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=59d1a602da4908f4f55dc22a4826f9d01d5e5b78
Submitter: Jenkins
Branch: master

commit 59d1a602da4908f4f55dc22a4826f9d01d5e5b78
Author: Chris Dent <email address hidden>
Date: Fri Aug 7 18:52:12 2015 +0000

    Correctly intialized olso config fixture for TestClientHTTPBasicAuth

    Otherwise it can fail intermittently when run with other tests or
    consistently when run in isolation.

    Change-Id: Ib0674c93c8e41ab610fb799470a99fa427dfd14f
    Closes-Bug: #1482740

Changed in ceilometer:
status: In Progress → Fix Committed
Revision history for this message
gordon chung (chungg) wrote :
Changed in ceilometer:
status: Fix Committed → Triaged
gordon chung (chungg)
Changed in ceilometer:
status: Triaged → Confirmed
status: Confirmed → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to ceilometer (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/211335

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

Reviewed: https://review.openstack.org/211335
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=cd55858aa912d470854468e5acc41e4f4c57e324
Submitter: Jenkins
Branch: master

commit cd55858aa912d470854468e5acc41e4f4c57e324
Author: gordon chung <email address hidden>
Date: Mon Aug 10 17:32:59 2015 -0400

    initialise opencontrail client in tests

    similar patch as Ib0674c93c8e41ab610fb799470a99fa427dfd14f but for
    opencontrail

    Change-Id: I4462e5c2f56490a5a0f5b5a96b7abe376d70998a
    Related-Bug: #1482740

Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: liberty-3 → 5.0.0
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.