← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1878160] Re: [OVN] Functional tests environment is using old OVN

 

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 <libosvar@xxxxxxxxxx>
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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1878160

Title:
  [OVN] Functional tests environment is using old OVN

Status in neutron:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1878160/+subscriptions


References