neutron.tests.functional.agent.test_ovs_flows fails with RuntimeError

Bug #1443916 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Kevin Benton
Kilo
Fix Released
Undecided
Unassigned

Bug Description

Both test_arp_spoof_allowed_address_pairs and test_arp_spoof_disable_port_security fail occasionally as follows:

http://logs.openstack.org/80/172480/1/gate/gate-neutron-dsvm-functional/b72c1c7/testr_results.html.gz

Traceback (most recent call last):
  File "neutron/tests/functional/agent/test_ovs_flows.py", line 68, in test_arp_spoof_allowed_address_pairs
    pinger.assert_ping(self.dst_addr)
  File "neutron/tests/functional/agent/linux/helpers.py", line 113, in assert_ping
    self._ping_destination(dst_ip)
  File "neutron/tests/functional/agent/linux/helpers.py", line 110, in _ping_destination
    '-W', self._timeout, dest_address])
  File "neutron/agent/linux/ip_lib.py", line 580, in execute
    extra_ok_codes=extra_ok_codes, **kwargs)
  File "neutron/agent/linux/utils.py", line 137, in execute
    raise RuntimeError(m)
RuntimeError:
Command: ['ip', 'netns', 'exec', 'func-75b049b8-cbf8-4dea-8a1d-4479b0b33659', 'ping', '-c', 1, '-W', 1, '192.168.0.2']
Exit code: 1
Stdin:
Stdout: PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.

--- 192.168.0.2 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/174154

Changed in neutron:
status: New → In Progress
tags: added: kilo-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/174154
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=749886eb6b065a93dfad7fe7ed930cb77fe37b94
Submitter: Jenkins
Branch: master

commit 749886eb6b065a93dfad7fe7ed930cb77fe37b94
Author: Kevin Benton <email address hidden>
Date: Tue Mar 31 11:20:18 2015 -0700

    Increase max attempts to 2 for pings on ARP tests

    If the server under test is under heavy load, the requirement
    of the very first ping passing may be too strict. This patch
    increases the max attempts to 2 for the ARP spoofing tests to
    give time for the OVS flow changes to take effect.

    Change-Id: Ib70790da23861a8ed9c77f9c11aaf8fa41bf581c
    Closes-Bug: #1443916

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (neutron-pecan)

Fix proposed to branch: neutron-pecan
Review: https://review.openstack.org/185072

Thierry Carrez (ttx)
Changed in neutron:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/200016

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

Reviewed: https://review.openstack.org/200016
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=71a6b65b89a09c30387c9d1755f07072b1ed1496
Submitter: Jenkins
Branch: stable/kilo

commit 71a6b65b89a09c30387c9d1755f07072b1ed1496
Author: Kevin Benton <email address hidden>
Date: Tue Mar 31 11:20:18 2015 -0700

    Increase max attempts to 2 for pings on ARP tests

    If the server under test is under heavy load, the requirement
    of the very first ping passing may be too strict. This patch
    increases the max attempts to 2 for the ARP spoofing tests to
    give time for the OVS flow changes to take effect.

    Change-Id: Ib70790da23861a8ed9c77f9c11aaf8fa41bf581c
    Closes-Bug: #1443916
    (cherry picked from commit 749886eb6b065a93dfad7fe7ed930cb77fe37b94)

tags: added: in-stable-kilo
Assaf Muller (amuller)
tags: added: functional-tests
Thierry Carrez (ttx)
Changed in neutron:
milestone: liberty-1 → 7.0.0
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.