[openstack-dev] [Octavia] [Tempest] Tempest tests using tempest-plugin

Andrea Frittoli andrea.frittoli at gmail.com
Sat Feb 20 07:38:25 UTC 2016


All the code that is in tempest-lib is stable interface that can be
consumed safely.
The code in tempest instead does not provide a guaranteed stable interface,
as it was not originally meant for external consumption.
So while you can import it, it may change without warning (i.e. with no new
tempest tag), and break your plugin.

In Mitaka we have an ongoing effort in the QA team to make more parts of
the tempest core framework as stable interfaces.
Service clients, client managers, credentials providers are all part of
this effort.

What part of tempest are you looking to import? If it's something that is
planned to become stable, you could start importing the current code, and
you may have to adapt your plugin code one the interface becomes stable.
And surely you are very welcome to help in the process of turning the part
of tempest you need in your plugin into a stable interface.

andrea

On Fri, Feb 19, 2016 at 10:26 PM Michael Johnson <johnsomor at gmail.com>
wrote:

> I really do not want to see tempest code copied into the Octavia
> repository.  We cannot keep them in sync and maintain the tests that
> way.  It has been a recurring problem with neutron-lbaas that we are
> trying to get back out of[1], so I really do not want to repeat that
> with Octavia.
>
> [1] https://review.openstack.org/#/c/273817/
>
> Michael
>
> On Thu, Feb 18, 2016 at 10:53 PM, Madhusudhan Kandadai
> <madhusudhan.openstack at gmail.com> wrote:
> > Hi,
> >
> > We are trying to implement tempest tests for Octavia using
> tempest-plugin. I
> > am wondering whether we can import *tempest* common files and use them
> as a
> > base to support Octavia tempest tests rather than copying everything in
> > Octavia tree. I am in favor of importing files directly from tempest to
> > follow tempest structure. If this is not permissible to import from
> tempest
> > directly, do we need to propose any common files in tempest_lib, so we
> can
> > import it from tempest_lib instead? I wanted to check with other for
> > suggestions.
> >
> > Thanks,
> > Madhu
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160220/2617c6b7/attachment.html>


More information about the OpenStack-dev mailing list