[openstack-dev] [tripleo][ui][tempest][oooq] Refreshing plugins from git

Chandan kumar chkumar246 at gmail.com
Mon Oct 22 12:55:00 UTC 2018


Hello Honza,

On Thu, Oct 18, 2018 at 6:15 PM Bogdan Dobrelya <bdobreli at redhat.com> wrote:
>
> On 10/18/18 2:17 AM, Honza Pokorny wrote:
> > Hello folks,
> >
> > I'm working on the automated ui testing blueprint[1], and I think we
> > need to change the way we ship our tempest tests.
> >
> > Here is where things stand at the moment:
> >
> > * We have a kolla image for tempest
> > * This image contains the tempest rpm, and the openstack-tempest-all rpm
> > * The openstack-tempest-all package in turn contains all of the
> >    openstack tempest plugins
> > * Each of the plugins is shipped as an rpm
> >
> > So, in order for a new test in tempest-tripleo-ui to appear in CI we
> > have to go through at least the following tests:
> >
> > * New tempest-tripleo-ui rpm
> > * New openstack-tempest-all rpm
> > * New tempest kolla image
> >
> > This could easily take a week, if not more.
> >
> > What I would like to build is something like the following:
> >
> > * Add an option to the tempest-setup.sh script in tripleo-quickstart to
> >    refresh all tempest plugins from git before running any tests
> > * Optionally specify a zuul change for any of the plugins being
> >    refreshed
> > * Hook up the test job to patches in tripleo-ui (which tests in
> >    tempest-tripleo-ui are testing) so that I can run a fix and its test
> >    in a single CI job

I have added a patch in TripleO Quickstart extras Validate-tempest
role: https://review.openstack.org/#/c/612377/ to install any tempest
plugin from git and zuul will pick
the specific change in the gates.
Here is the patch on how to test it with FS: https://review.openstack.org/612386
Basically in any FS, we can add following lines
tempest_format: venv
tempest_plugins_git:
   - 'https://git.openstack.org/openstack/tempest-tripleo-ui.git'
the respective FS related job will install the tempest plugin and we
can also use test_white_regex: <test_name of specific plugin> to
trigger the tempest tests.

I think it will solve the problem.

Thanks

Chandan Kumar



More information about the OpenStack-dev mailing list