← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1817295] Re: Functional NetlinkLib tests can interfere with other tests

 

Reviewed:  https://review.openstack.org/638635
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=798c6c731fc5872ade8b5eb1f571a2c002c8c0fb
Submitter: Zuul
Branch:    master

commit 798c6c731fc5872ade8b5eb1f571a2c002c8c0fb
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date:   Fri Feb 22 12:34:54 2019 +0100

    [Functional tests] Change way how conntrack entries are checked
    
    In netlink_lib functional tests module there are listed conntrack
    entries and those entries are assert to some expected list.
    It may happen that sometimes some additional entries from other
    tests will also be in the list and that cause failures of
    netlink_lib tests.
    
    So this patch changes way how those assertions are done. For now
    it will check if each of expected entries is in entries list and
    in case of delete entries tests, it will also check if any of
    deleted entries isn't actually in list.
    
    Change-Id: I30c18f141a8356b060902e6493ba0657b21619ad
    Closes-Bug: #1817295


** 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/1817295

Title:
  Functional NetlinkLib tests can interfere with other tests

Status in neutron:
  Fix Released

Bug description:
  It may happen that tests from neutron.tests.functional.agent.linux.test_netlink_lib.NetlinkLibTestCase can interfere with e.g. tests from neutron.tests.functional.agent.test_firewall module and fail because of that.
  It may happen that one of NetlinkLib tests deletes some conntrack entries and expects ONLY some specific ones to be still in conntrack. But there are also other entries added by some other tests.

  Example of such failure: http://logs.openstack.org/02/637802/2/check
  /neutron-functional-python27/3d611ea/logs/testr_results.html.gz

  Additional conntrack entry  (6, u'udp', 46935, 18650,
  u'2001:db8:aaaa::1', u'2001:db8:aaaa::2', 71) comes probably from one
  of tests in neutron.tests.functional.agent.test_firewall module.

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


References