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

2015-12-06 Thread Gal Sagie
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,

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

2015-12-06 Thread Andrey Pavlov
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

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

2015-12-06 Thread Gal Sagie
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

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

2015-12-06 Thread Andrey Pavlov
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