<div dir="ltr"><div><div>HI,<br><br></div>I think Rally or Browbeat and other performance oriented solutions won't serve our needs, because we run TripleO CI on virtualized environment with very limited resources. Actually we are pretty close to full utilizing these resources when deploying openstack, so very little is available for test. <br>It's not a problem to run tempest API tests because they are cheap - take little time, little resources, but also gives little coverage. Scenario test are more interesting and gives us more coverage, but also takes a lot of resources (which we don't have sometimes).<br></div><div><br>It may be useful to run a "limited edition" of API tests that maximize coverage and don't duplicate, for example just to check service working basically, without covering all its functionality. It will take very little time (i.e. 5 tests for each service) and will give a general picture of deployment success. It will cover fields that are not covered by pingtest as well.<br></div><div><br>I think could be an option to develop a special scenario tempest tests for TripleO which would fit our needs.<br><br></div><div>Thanks<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 11:49 PM, Emilien Macchi <span dir="ltr"><<a href="mailto:emilien@redhat.com" target="_blank">emilien@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings dear owls,<br>
<br>
I would like to bring back an old topic: running tempest in the gate.<br>
<br>
== Context<br>
<br>
Right now, TripleO gate is running something called pingtest to<br>
validate that the OpenStack cloud is working. It's an Heat stack, that<br>
deploys a Nova server, some volumes, a glance image, a neutron network<br>
and sometimes a little bit more.<br>
To deploy the pingtest, you obviously need Heat deployed in your overcloud.<br>
<br>
== Problems:<br>
<br>
Although pingtest has been very helpful over the last years:<br>
- easy to understand, it's an Heat template, like an OpenStack user<br>
would do to deploy their apps.<br>
- fast: the stack takes a few minutes to be created and validated<br>
<br>
It has some limitations:<br>
- Limitation to what Heat resources support (example: some OpenStack<br>
resources can't be managed from Heat)<br>
- Impossible to run a dynamic workflow (test a live migration for example)<br>
<br>
== Solutions<br>
<br>
1) Switch pingtest to Tempest run on some specific tests, with feature<br>
parity of what we had with pingtest.<br>
For example, we could imagine to run the scenarios that deploys VM and<br>
boot from volume. It would test the same thing as pingtest (details<br>
can be discussed here).<br>
Each scenario would run more tests depending on the service that they<br>
run (scenario001 is telemetry, so it would run some tempest tests for<br>
Ceilometer, Aodh, Gnocchi, etc).<br>
We should work at making the tempest run as short as possible, and the<br>
close as possible from what we have with a pingtest.<br>
<br>
2) Run custom scripts in TripleO CI tooling, called from the pingtest<br>
(heat template), that would run some validations commands (API calls,<br>
etc).<br>
It has been investigated in the past but never implemented AFIK.<br>
<br>
3) ?<br>
<br>
I tried to make this text short and go straight to the point, please<br>
bring feedback now. I hope we can make progress on $topic during Pike,<br>
so we can increase our testing coverage and detect deployment issues<br>
sooner.<br>
<br>
Thanks,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Emilien Macchi<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best regards<br></div>Sagi Shnaidman<br></div></div>
</div>