test_set_multi_controllers_connection_mode failures

Bug #1448202 reported by Armando Migliaccio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Armando Migliaccio

Bug Description

Looks like a newly introduced intermittent failure (by https://review.openstack.org/#/c/167913/):

http://logs.openstack.org/21/177121/4/gate/gate-neutron-dsvm-functional/a09b575/testr_results.html.gz

ft1.80: neutron.tests.functional.agent.test_ovs_lib.OVSBridgeTestCase.test_set_multi_controllers_connection_mode(native)_StringException: Empty attachments:
  pythonlogging:''
  pythonlogging:'neutron.api.extensions'
  stderr
  stdout

Traceback (most recent call last):
  File "neutron/tests/functional/agent/test_ovs_lib.py", line 239, in test_set_multi_controllers_connection_mode
    self._set_controllers_connection_mode(controllers)
  File "neutron/tests/functional/agent/test_ovs_lib.py", line 243, in _set_controllers_connection_mode
    self.assertEqual(controllers, self.br.get_controller())
  File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, 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 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = ['tcp:192.0.2.0:6633', 'tcp:192.0.2.1:55']
actual = [u'tcp:192.0.2.1:55', u'tcp:192.0.2.0:6633']

Changed in neutron:
importance: Undecided → Critical
status: New → Confirmed
description: updated
Changed in neutron:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
milestone: none → liberty-1
description: updated
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/177351

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit e6bd3ed9c86ff493b7087c99797bfd3fb473c3a7
Author: armando-migliaccio <email address hidden>
Date: Fri Apr 24 09:27:40 2015 -0700

    Fix MismatchError to nondeterministic order for list of controllers

    The list of controllers returned by the ovsdb server can be in any order,
    therefore we can't assert likes for likes. Assert the sorted lists instead.

    Change-Id: Ice3bb8cc0b3da70f8c9aae50d8cdae2b474ff49b
    Closes-bug: #1448202

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:
status: Fix Committed → Fix Released
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.