[openstack-dev] [nova][ceilometer] ceilometer unit tests broke because of a nova patch

Tian, Shuangtai shuangtai.tian at intel.com
Thu Jan 30 10:17:46 UTC 2014


I have posted a patch in the ceilometer to temporary solve the problem, https://review.openstack.org/#/c/70073/
Similar problem ,I think we should rewrite the test with faking the object layer instead of faking db layer.

-----Original Message-----
From: Joe Gordon [mailto:joe.gordon0 at gmail.com] 
Sent: Thursday, January 30, 2014 10:34 AM
To: OpenStack Development Mailing List
Subject: [openstack-dev] [nova][ceilometer] ceilometer unit tests broke because of a nova patch

While looking at gate failures trying to improve our classification rate I stumbled across this:

http://logs.openstack.org/50/67850/5/gate/gate-ceilometer-python26/8fd55b6/console.html

It appears that ceilometer is pulling in the nova repo
(http://git.openstack.org/cgit/openstack/ceilometer/tree/test-requirements.txt#n8)
and running tests against non-contractual (private) APIs. This means that nova will occasionally break ceilometer unit tests.


The nova patch that broke ceilometer is:

commit 4f1318585c38d55c097ee2e03b57b65157048a2f
Merge: 5798058 50c9055
Author: Jenkins <jenkins at review.openstack.org>
Date:   Thu Jan 30 01:31:31 2014 +0000

    Merge "Adds ephemeral_key_uuid field to instance"


commit 50c9055c8ef22b59379acadd1a1efdcbc6be12b3
Author: Dan Genin <daniel.genin at jhuapl.edu>
Date:   Thu Jan 2 09:44:24 2014 -0500

    Adds ephemeral_key_uuid field to instance

    Patch adds a field to instance for storing the uuid of
    the key used to encrypt instance's ephemeral storage.

    Implements: blueprint encrypt-ephemeral-storage
    Change-Id: Id5b1e272d4461875bb231839e4714d3ed0899d3f


Going forward, how can we prevent issues like this from reoccurring in the gate?



best,
Joe Gordon

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list