← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358857] Re: test_load_balancer_basic mismatch error

 

By looking at the gate configuration, this currently test the LB in the
scenario where there is a single instance with two fake HTTP servers. If
we do get responses during the _send_requests there is no reason to
believe that there is Neutron at fault here. I attribute this spurious
issue with the fact that 10 attempts is too low a threshold. If we raise
the retries slightly, the test runtime should not increase much; however
if we end up getting stuck with one server, then we can say there's
something wrong with a higher degree of confidence.

** Changed in: neutron
       Status: New => Invalid

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

Title:
  test_load_balancer_basic mismatch error

Status in OpenStack Neutron (virtual network service):
  Invalid
Status in Tempest:
  New

Bug description:
  Gate failed check-tempest-dsvm-neutron-full on this (unrelated) patch change: 
  https://review.openstack.org/#/c/114693/

  http://logs.openstack.org/93/114693/1/check/check-tempest-dsvm-
  neutron-full/2755713/console.html

  
  2014-08-19 01:11:40.597 | ==============================
  2014-08-19 01:11:40.597 | Failed 1 tests - output below:
  2014-08-19 01:11:40.597 | ==============================
  2014-08-19 01:11:40.597 | 
  2014-08-19 01:11:40.597 | tempest.scenario.test_load_balancer_basic.TestLoadBalancerBasic.test_load_balancer_basic[compute,gate,network,smoke]
  2014-08-19 01:11:40.597 | --------------------------------------------------------------------------------------------------------------------
  2014-08-19 01:11:40.597 | 
  2014-08-19 01:11:40.597 | Captured traceback:
  2014-08-19 01:11:40.597 | ~~~~~~~~~~~~~~~~~~~
  2014-08-19 01:11:40.598 |     Traceback (most recent call last):
  2014-08-19 01:11:40.598 |       File "tempest/test.py", line 128, in wrapper
  2014-08-19 01:11:40.598 |         return f(self, *func_args, **func_kwargs)
  2014-08-19 01:11:40.598 |       File "tempest/scenario/test_load_balancer_basic.py", line 297, in test_load_balancer_basic
  2014-08-19 01:11:40.598 |         self._check_load_balancing()
  2014-08-19 01:11:40.598 |       File "tempest/scenario/test_load_balancer_basic.py", line 277, in _check_load_balancing
  2014-08-19 01:11:40.598 |         self._send_requests(self.vip_ip, set(["server1", "server2"]))
  2014-08-19 01:11:40.598 |       File "tempest/scenario/test_load_balancer_basic.py", line 289, in _send_requests
  2014-08-19 01:11:40.598 |         set(resp))
  2014-08-19 01:11:40.598 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual
  2014-08-19 01:11:40.598 |         self.assertThat(observed, matcher, message)
  2014-08-19 01:11:40.599 |       File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
  2014-08-19 01:11:40.599 |         raise mismatch_error
  2014-08-19 01:11:40.599 |     MismatchError: set(['server1', 'server2']) != set(['server1'])

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