[openstack-dev] [openstack-infra] Functional tests in the gate

Andrey Pavlov andrey.mp at gmail.com
Sun Dec 6 18:59:37 UTC 2015


Each gating job has own config.
This functional test job exports some variable to install devstack.
python27/34, pep8 and many other jobs have own configs in the gating.
most of jobs use tox`s 'tox.ini' file where command to run is written.

On Sun, Dec 6, 2015 at 9:53 PM, Gal Sagie <gal.sagie at gmail.com> wrote:

> Thanks for the answer Andrey,
>
> In the post_test_hook of this, you run the ec2-api functional tests.
> What i am asking, is how to prevent these tests from running in
> gate-X-python27 for example (which they will
> obviously fail as they need a working devstack to run)
>
> Maybe i am not understanding something fundamental here.
>
> Gal.
>
> On Sun, Dec 6, 2015 at 6:56 PM, Andrey Pavlov <andrey.mp at gmail.com> wrote:
>
>> For example -
>> https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/ec2-api.yaml#L45
>>
>> this job has next lines:
>>           export DEVSTACK_GATE_TEMPEST=1
>>           export DEVSTACK_GATE_TEMPEST_NOTESTS=1
>> first line tells to install tempest
>> and second tells that job should not run it
>>
>> and then 'post_test_hook' defines commands to run.
>>
>> On Sun, Dec 6, 2015 at 7:06 PM, Gal Sagie <gal.sagie at gmail.com> wrote:
>>
>>> Hello all,
>>>
>>> I want to write functional tests that will run in the gate but only
>>> after a devstack
>>> environment has finished.
>>> Basically i want to interact with a working enviorment, but i don't want
>>> the tests that i write
>>> to fail the python27 gate tests.
>>>
>>> (I guess like the Neutron full stack tests, but i haven't found how to
>>> do it yet)
>>>
>>> Can anyone please direct me to an example / or help me figure out how to
>>> achieve this?
>>>
>>> Thanks
>>> Gal.
>>>
>>>
>>> __________________________________________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Kind regards,
>> Andrey Pavlov.
>>
>> __________________________________________________________________________
>> 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
>>
>>
>
>
> --
> Best Regards ,
>
> The G.
>
> __________________________________________________________________________
> 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
>
>


-- 
Kind regards,
Andrey Pavlov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151206/3b2892d7/attachment.html>


More information about the OpenStack-dev mailing list