[OVN] Functional tests environment is using old OVN

Bug #1878160 reported by Maciej Jozefczyk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Maciej Jozefczyk

Bug Description

Environment used for functional tests in Neutron master installs old OVS and OVN instead newest one specified in zuul configuration.

2020-05-11 17:51:44.018628 | controller | + /home/zuul/src/opendev.org/openstack/neutron/tools/configure_for_func_testing.sh:_install_base_deps:111 : source /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs
2020-05-11 17:51:44.021258 | controller | ++ /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:source:13 : OVS_REPO=https://github.com/openvswitch/ovs.git
2020-05-11 17:51:44.024454 | controller | +++ /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:source:14 : basename https://github.com/openvswitch/ovs.git
2020-05-11 17:51:44.025329 | controller | +++ /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:source:14 : cut -f1 -d.
2020-05-11 17:51:44.029281 | controller | ++ /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:source:14 : OVS_REPO_NAME=ovs
2020-05-11 17:51:44.031459 | controller | ++ /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:source:15 : OVS_BRANCH=master
2020-05-11 17:51:44.034660 | controller | + /home/zuul/src/opendev.org/openstack/neutron/tools/configure_for_func_testing.sh:_install_base_deps:112 : remove_ovs_packages
2020-05-11 17:51:44.036794 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:remove_ovs_packages:213 : for package in openvswitch openvswitch-switch openvswitch-common
2020-05-11 17:51:44.039203 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:remove_ovs_packages:214 : is_package_installed openvswitch
2020-05-11 17:51:44.040999 | controller | + functions-common:is_package_installed:1338 : [[ -z openvswitch ]]
2020-05-11 17:51:44.042712 | controller | + functions-common:is_package_installed:1342 : [[ -z deb ]]
2020-05-11 17:51:44.044782 | controller | + functions-common:is_package_installed:1346 : [[ deb = \d\e\b ]]
2020-05-11 17:51:44.046600 | controller | + functions-common:is_package_installed:1347 : dpkg -s openvswitch
2020-05-11 17:51:44.063710 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:remove_ovs_packages:213 : for package in openvswitch openvswitch-switch openvswitch-common
2020-05-11 17:51:44.065874 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:remove_ovs_packages:214 : is_package_installed openvswitch-switch
2020-05-11 17:51:44.068487 | controller | + functions-common:is_package_installed:1338 : [[ -z openvswitch-switch ]]
2020-05-11 17:51:44.070984 | controller | + functions-common:is_package_installed:1342 : [[ -z deb ]]
2020-05-11 17:51:44.073079 | controller | + functions-common:is_package_installed:1346 : [[ deb = \d\e\b ]]
2020-05-11 17:51:44.075080 | controller | + functions-common:is_package_installed:1347 : dpkg -s openvswitch-switch
2020-05-11 17:51:44.093565 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:remove_ovs_packages:213 : for package in openvswitch openvswitch-switch openvswitch-common
2020-05-11 17:51:44.095882 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:remove_ovs_packages:214 : is_package_installed openvswitch-common
2020-05-11 17:51:44.098046 | controller | + functions-common:is_package_installed:1338 : [[ -z openvswitch-common ]]
2020-05-11 17:51:44.100093 | controller | + functions-common:is_package_installed:1342 : [[ -z deb ]]
2020-05-11 17:51:44.102364 | controller | + functions-common:is_package_installed:1346 : [[ deb = \d\e\b ]]
2020-05-11 17:51:44.104367 | controller | + functions-common:is_package_installed:1347 : dpkg -s openvswitch-common
2020-05-11 17:51:44.121001 | controller | + /home/zuul/src/opendev.org/openstack/neutron/tools/configure_for_func_testing.sh:_install_base_deps:113 : OVS_BRANCH=v2.12.0
2020-05-11 17:51:44.123399 | controller | + /home/zuul/src/opendev.org/openstack/neutron/tools/configure_for_func_testing.sh:_install_base_deps:114 : compile_ovs False /usr /var
2020-05-11 17:51:57.183697 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:prepare_for_compilation:43 : cd /home/zuul/src/opendev.org/openstack/ovs
2020-05-11 17:51:57.186069 | controller | + /home/zuul/src/opendev.org/openstack/neutron/devstack/lib/ovs:prepare_for_compilation:44 : git checkout v2.12.0
2020-05-11 17:51:57.477222 | controller | Note: checking out 'v2.12.0'.

Example log: https://0b56f229cf5dd2511d5c-6e1e7a8d8abee2ff0e137b8a66c992cf.ssl.cf2.rackcdn.com/726850/1/check/neutron-functional/2f23d61/job-output.txt

tags: added: ovn-octavia-provider
Changed in neutron:
importance: Undecided → High
status: New → Confirmed
Changed in neutron:
assignee: nobody → Maciej Jozefczyk (maciej.jozefczyk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/727193

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Maciej Józefczyk (<email address hidden>) on branch: master
Review: https://review.opendev.org/727193

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/735799
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=d0860588957730b97fe3ebbefa77c6421da45adc
Submitter: Zuul
Branch: master

commit d0860588957730b97fe3ebbefa77c6421da45adc
Author: Jakub Libosvar <email address hidden>
Date: Tue Jun 16 10:07:49 2020 +0200

    ovn: Use newer OVS

    OVS tag v2.13.0 is not compatible with current used kernel on upstream
    Bionic Ubuntu kernel 4.15.0. This patch sticks to commit hash to unblock
    the gate. We can either change to newer 2.13 tag once released or better
    stop compiling OVS and use one packaged by Ubuntu.

    Run functional/fullstack tests with selected OVN and OVS versions

    Previously for functional tests OVS version was hardcoded - v2.12.0,
    and OVN was installed from OVS repository.

    After we merged OVN driver to Neutron tree we run both
    Neutron/OVS and Neutron/OVN functional tests in one job.

    This patch adds possibility to specify from which tag/branch OVS and OVN
    should be checkout.

    Change-Id: I83688031951b97bfe64f3aaa761ad7afc1d5ea55
    Closes-Bug: #1883601
    Closes-Bug: #1878160

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/ussuri)

Change abandoned by Lucas Alvares Gomes (<email address hidden>) on branch: stable/ussuri
Review: https://review.opendev.org/736951

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ussuri)

Reviewed: https://review.opendev.org/736286
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=080123851cc7b004e386fe213697b6a8f0ebebd5
Submitter: Zuul
Branch: stable/ussuri

commit 080123851cc7b004e386fe213697b6a8f0ebebd5
Author: Bernard Cafarelli <email address hidden>
Date: Wed Jun 17 17:54:22 2020 +0200

    Fix ussuri gates

    This is a combination of 3 commits.
    This is the 1st commit message:

    Temporarily disable grenade-multinode jobs

    We need to backport multiple gate fixes, disable the relevant jobs.
    Backports should re-enable the matching jobs

    This is the commit message #2:

    Add ensure-tox in functional job

    neutron functional jobs run tests using the tox env.
    Even tempest jobs need tox to be present to run the tempest
    tests in venv. But functional job derived from devstack-minimal
    jobs does not make sure tox is present or not. devstack jobs does not
    mak sure that as those are not only used for tox run but also for
    other integration testing.

    Current neutorn functional job failure-
    - https://zuul.opendev.org/t/openstack/build/59865004855c404ab18f06fc0ec1d005

    let's call ensure-tox role in job to make sure tox is present.

    Closes-Bug: 1884256
    (cherry picked from commit bda80e8e2a94ff3297ec750589cd879896f12c70)

    This is the commit message #3:

    ovn: Use newer OVS

    OVS tag v2.13.0 is not compatible with current used kernel on upstream
    Bionic Ubuntu kernel 4.15.0. This patch sticks to commit hash to unblock
    the gate. We can either change to newer 2.13 tag once released or better
    stop compiling OVS and use one packaged by Ubuntu.

    Run functional/fullstack tests with selected OVN and OVS versions

    Previously for functional tests OVS version was hardcoded - v2.12.0,
    and OVN was installed from OVS repository.

    After we merged OVN driver to Neutron tree we run both
    Neutron/OVS and Neutron/OVN functional tests in one job.

    This patch adds possibility to specify from which tag/branch OVS and OVN
    should be checkout.

    Closes-Bug: #1883601
    Closes-Bug: #1878160
    (cherry picked from commit d0860588957730b97fe3ebbefa77c6421da45adc)

    Change-Id: I8c59e209f3a4573c3f94da6c2acd7d6f57e30b31

tags: added: in-stable-ussuri
tags: added: neutron-proactive-backport-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.