<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 11:55 AM, Matthew Treinish <span dir="ltr"><<a href="mailto:mtreinish@kortar.org" target="_blank">mtreinish@kortar.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
So a little while ago we noticed that in all the gate runs one of the ceilometer<br>
cli tests is consistently in the list of slowest tests. (and often the slowest)<br>
This was a bit surprising given the nature of the cli tests we expect them to<br>
execute very quickly.<br>
<br>
test_ceilometer_resource_list which just calls ceilometer resource_list from the<br>
CLI once is taking >=2 min to respond. For example:<br>
<a href="http://logs.openstack.org/68/80168/3/gate/gate-tempest-dsvm-postgres-full/07ab7f5/logs/tempest.txt.gz#_2014-03-17_17_08_25_003" target="_blank">http://logs.openstack.org/68/80168/3/gate/gate-tempest-dsvm-postgres-full/07ab7f5/logs/tempest.txt.gz#_2014-03-17_17_08_25_003</a><br>


(where it takes > 3min)<br>
<br>
The cli tests are supposed to be quick read-only sanity checks of the cli<br>
functionality and really shouldn't ever be on the list of slowest tests for a<br>
gate run. I think there was possibly a performance regression recently in<br>
ceilometer because from I can tell this test used to normally take ~60 sec.<br>
(which honestly is probably too slow for a cli test too) but it is currently<br>
much slower than that.<br></blockquote><div><br></div><div>Sounds like we should add another round of sanity checking to the CLI tests: make sure all commands return within x seconds.   As a first pass we can say x=60 and than crank it down in the future.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>From logstash it seems there are still some cases when the resource list takes<br>
as long to execute as it used to, but the majority of runs take a long time:<br>
<a href="http://goo.gl/smJPB9" target="_blank">http://goo.gl/smJPB9</a><br>
<br>
In the short term I've pushed out a patch that will remove this test from gate<br>
runs: <a href="https://review.openstack.org/#/c/81036" target="_blank">https://review.openstack.org/#/c/81036</a> But, I thought it would be good to<br>
bring this up on the ML to try and figure out what changed or why this is so<br>
slow.<br>
<br>
Thanks,<br>
<br>
-Matt Treinish<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div>