← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1801930] Re: Functional test test_ha_router_namespace_has_ipv6_forwarding_disabled failing quite often

 

Reviewed:  https://review.openstack.org/615893
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=916e7745166d404f187533de702726aac3ef6eba
Submitter: Zuul
Branch:    master

commit 916e7745166d404f187533de702726aac3ef6eba
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date:   Tue Nov 6 15:36:44 2018 +0100

    Wait to ipv6 forwarding be really changed by L3 agent
    
    In test test_ha_router_namespace_has_ipv6_forwarding_disabled
    functional test it may happen that L3 agent will not change ipv6
    forwarding and test fails because it checks that only once just
    after router state is change to master.
    
    This patch fixes that race by adding wait for 60 seconds to
    ipv6 forwarding change.
    
    Change-Id: I85a602561ebe9b7ab135913af49a3f010b09f196
    Closes-Bug: #1801930


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

Title:
  Functional test test_ha_router_namespace_has_ipv6_forwarding_disabled
  failing quite often

Status in neutron:
  Fix Released

Bug description:
  Functional test
  neutron.tests.functional.agent.l3.test_ha_router.LinuxBridgeL3HATestCase.
  test_ha_router_namespace_has_ipv6_forwarding_disabled is failing quite
  often in the gate.

  Example of failure: http://logs.openstack.org/37/610737/2/gate
  /neutron-functional/286402b/logs/testr_results.html.gz

  Failure stack trace:
  Traceback (most recent call last):
    File "neutron/tests/base.py", line 151, in func
      return f(self, *args, **kwargs)
    File "neutron/tests/base.py", line 151, in func
      return f(self, *args, **kwargs)
    File "neutron/tests/functional/agent/l3/test_ha_router.py", line 365, in test_ha_router_namespace_has_ipv6_forwarding_disabled
      namespace=router.ns_name))
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: 1 != 0

  
  It happens on stable branches and on master.

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


References