← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1880676] Re: "test_iptables.TestHelper" UTs are making a system call

 

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

commit bd5c98e25b40ed4be749fd0880027407c4468d1e
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue May 26 10:26:39 2020 +0000

    Mock command execution in "test_iptables.TestHelper" UTs
    
    Change-Id: I112e0a1cb45259c5af3bcbf09ae9f515f90723d0
    Closes-Bug: #1880676


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

Title:
  "test_iptables.TestHelper" UTs are making a system call

Status in neutron:
  Fix Released

Bug description:
  "test_iptables.TestHelper" UTs are making a system call, executing
  "sysctl" [1]. This won't work in OS like OSX or Windows.

  Logs: http://paste.openstack.org/show/793980/

  [1]https://github.com/openstack/neutron/blob/4acc6843e849e98cd04a6d01861555c3e120f081/neutron/agent/linux/iptables_firewall.py#L103-L105

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


References