<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 4: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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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></blockquote><div><br></div><div>Another limitation which is obvious but I think still worth mentioning is that Tempest has much better coverage than the pingtest. Security groups, for example, have been accidentally disabled in every TripleO version as of late. That lets regressions such as [1] slip in. We wouldn't have that problem if we switched to Tempest and selected an intelligent subset of tests to run.</div><div><br></div><div>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1411690">https://bugzilla.redhat.com/show_bug.cgi?id=1411690</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<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="gmail-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></div></div>