]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add hook scripts for the functional infra job
authorMaru Newby <marun@redhat.com>
Sat, 23 Aug 2014 06:21:07 +0000 (23:21 -0700)
committerMaru Newby <marun@redhat.com>
Sat, 23 Aug 2014 18:24:09 +0000 (20:24 +0200)
commit31ca6ea1412ca30c708f52ef844f5a2eedb7a56d
tree68eb02f0b3084a0656d7133e7b17511fb144769e
parent00d3af481ee765ee55df4f96dfa5c4e55197d90e
Add hook scripts for the functional infra job

Infra jobs support hooks to customize behavior.  This change adds
scripts that are intended to be called by the neutron-dsvm-functional
jobs as hooks.   Defining hook behavior in-tree instead of directly in
the job definition has the advantage of allowing changes in hook
behavior to be tested before merge.

The gate_hook.sh script added by this change installs a rootwrap
filter to allow functional tests to destroy python processes that
they have spawned.  The tests use the python executable provided by
their tox env, and the default rootwrap configuration does not
support killing processes launched by non-system python executables.

This change will have to merge to master and stable/icehouse before
the supporting infra config change can be merged:

https://review.openstack.org/#/c/116458/

Partial-bug: #1360658
Change-Id: Idcc6195f91fac833c14892f27fb793048ef964b9
neutron/tests/functional/contrib/README [new file with mode: 0644]
neutron/tests/functional/contrib/filters.template [new file with mode: 0644]
neutron/tests/functional/contrib/gate_hook.sh [new file with mode: 0644]
neutron/tests/functional/contrib/post_test_hook.sh [new file with mode: 0644]