diff --git a/lower-constraints.txt b/lower-constraints.txt index 29a3fbd5..b15e3d95 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -26,6 +26,7 @@ futurist==1.2.0 greenlet==0.4.10 idna==2.6 iso8601==0.1.11 +isort==4.3.21 Jinja2==2.10 jmespath==0.9.0 jsonpatch==1.16 diff --git a/roles/configure_functional_tests/tasks/main.yaml b/roles/configure_functional_tests/tasks/main.yaml index f59d5c14..66242845 100644 --- a/roles/configure_functional_tests/tasks/main.yaml +++ b/roles/configure_functional_tests/tasks/main.yaml @@ -8,13 +8,18 @@ BASE_DIR={{ base_dir }} GATE_DEST={{ gate_dest_dir }} PROJECT_NAME={{ project_name }} - NEUTRON_PATH={{ neutron_dir }} + NEUTRON_DIR={{ neutron_dir }} DEVSTACK_PATH={{ devstack_dir }} + TOP_DIR={{ devstack_dir }} VENV={{ tests_venv }} + STACK_USER=stack + OVS_BRANCH={{ OVS_BRANCH }} + OVN_BRANCH={{ OVN_BRANCH }} source $DEVSTACK_PATH/functions - source $NEUTRON_PATH/devstack/lib/ovs - source $NEUTRON_PATH/tools/configure_for_func_testing.sh + source $NEUTRON_DIR/devstack/lib/ovs + source $NEUTRON_DIR/devstack/lib/ovn_agent + source $NEUTRON_DIR/tools/configure_for_func_testing.sh configure_host_for_func_testing executable: /bin/bash diff --git a/test-requirements.txt b/test-requirements.txt index cc06d278..60cdb4a2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,6 +12,7 @@ oslotest>=3.2.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0 astroid==2.1.0 # LGPLv2.1 pylint==2.3.0 # GPLv2 +isort==4.3.21 # MIT octavia-lib>=1.3.1 # Apache-2.0 testresources>=2.0.0 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index 6d1dfeb3..ea44a377 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -1,5 +1,5 @@ - job: - name: ovn-octavia-provider-functional + name: ovn-octavia-provider-functional-base parent: devstack-minimal description: Run OVN Octavia provider functional tests timeout: 7800 @@ -31,6 +31,22 @@ # tox.ini file '{{ devstack_base_dir }}/logs/dsvm-functional-logs': logs +- job: + name: ovn-octavia-provider-functional-release + parent: ovn-octavia-provider-functional-base + description: Run OVN Octavia provider functional tests + vars: + OVN_BRANCH: v20.06.0 + OVS_BRANCH: v2.13.0 + +- job: + name: ovn-octavia-provider-functional-master + parent: ovn-octavia-provider-functional-base + description: Run OVN Octavia provider functional tests - OVN master + vars: + OVN_BRANCH: master + OVS_BRANCH: master + - job: name: ovn-octavia-provider-dsvm-base parent: devstack-tempest diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 30080279..188ee1da 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -10,10 +10,12 @@ - openstack-tox-cover: required-projects: - openstack/neutron - - ovn-octavia-provider-functional + - ovn-octavia-provider-functional-release + - ovn-octavia-provider-functional-master - ovn-octavia-provider-v2-dsvm-scenario gate: fail-fast: true jobs: - - ovn-octavia-provider-functional + - ovn-octavia-provider-functional-release + - ovn-octavia-provider-functional-master - ovn-octavia-provider-v2-dsvm-scenario