← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358857] Re: test_load_balancer_basic mismatch error

 

Reviewed:  https://review.openstack.org/120533
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=29bd43b271ef085046c04a2576419b98df684520
Submitter: Jenkins
Branch:    master

commit 29bd43b271ef085046c04a2576419b98df684520
Author: armando-migliaccio <armamig@xxxxxxxxx>
Date:   Wed Sep 10 11:43:15 2014 -0700

    Fix MismatchError for LB scenario test
    
    It has been observed that at a given iteration only one of the two HTTP
    services responds to requests made to the VIP. This is somewhat rare and
    it may be caused by the fact that the number of requests being sent is
    not high enough for the ROUNDROBIN algorithm to equally distribute requests
    across all the members in the pool.
    
    Increasing the number of retries makes the test runtime only slightly
    longer, but it should give us more confidence that, if we keep observing
    the same type of failure, this can be ruled out.
    
    At the same time, this patch also relaxes the check so that it just verifies
    that member pools are load balanced at least once. Verifying that the number
    of requests are spread evenly across is always going to be prone to transient
    condition and it is beyond the scope of a scenario test that validates whether
    Neutron LBaaS is wiring things correctly.
    
    Closes-bug: #1358857
    
    Change-Id: Ibc0aeb092a4643eb151cef8d7d942d9e3d1ed71c


** Changed in: tempest
       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/1358857

Title:
  test_load_balancer_basic mismatch error

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

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