← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1365918] [NEW] UT test_security_groups_rpc.TestSecurityGroupAgentEnhancedRpcWithIptables fails non deterministacally with MismatchError

 

Public bug reported:


It's only affecting py26/py27 neutron UTs, not tempest.

http://logs.openstack.org/55/105855/21/check/gate-neutron-
python26/f408f8a/console.html#_2014-09-05_05_23_47_990

A bit wide search which could be including other failures too, but mostly works:
http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiTWlzbWF0Y2hFcnJvcjogOCAhPSA0XCIgQU5EIHRhZ3M6XCJjb25zb2xlXCIiLCJmaWVsZHMiOlsiYnVpbGRfY2hhbmdlIiwibWVzc2FnZSJdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6ImN1c3RvbSIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJmcm9tIjoiMjAxNC0wOC0wMVQwMDowMDowMCswMDowMCIsInRvIjoiMjAxNC0wOS0wNVQwNzozNjo0NyswMDowMCIsInVzZXJfaW50ZXJ2YWwiOiIwIn0sInN0YW1wIjoxNDA5OTA1NDcyMTEwLCJtb2RlIjoiIiwiYW5hbHl6ZV9maWVsZCI6IiJ9


2014-09-05 05:23:47.988 | FAIL: neutron.tests.unit.test_security_groups_rpc.TestSecurityGroupAgentEnhancedRpcWithIptables.test_prepare_remove_port
2014-09-05 05:23:47.988 | tags: worker-3
2014-09-05 05:23:47.988 | ----------------------------------------------------------------------
2014-09-05 05:23:47.988 | Traceback (most recent call last):
2014-09-05 05:23:47.988 | _StringException: Empty attachments:
2014-09-05 05:23:47.988 |   pythonlogging:'neutron.api.extensions'
2014-09-05 05:23:47.988 |   stderr
2014-09-05 05:23:47.989 |   stdout
2014-09-05 05:23:47.989 | 
2014-09-05 05:23:47.989 | pythonlogging:'': {{{
2014-09-05 05:23:47.989 | 2014-09-05 05:23:48,051     INFO [neutron.agent.securitygroups_rpc] Preparing filters for devices ['tap_port1']
2014-09-05 05:23:47.989 | 2014-09-05 05:23:48,053     INFO [neutron.openstack.common.lockutils] Created lock path: /tmp/tmp.PvSiI1ldrI/tmpLQG7MG/tmpl7ODUk/lock
2014-09-05 05:23:47.989 | 2014-09-05 05:23:48,054     INFO [neutron.agent.securitygroups_rpc] Remove device filter for ['tap_port1']
2014-09-05 05:23:47.989 | }}}
2014-09-05 05:23:47.989 | 
2014-09-05 05:23:47.989 | Traceback (most recent call last):
2014-09-05 05:23:47.989 |   File "neutron/tests/unit/test_security_groups_rpc.py", line 2296, in test_prepare_remove_port
2014-09-05 05:23:47.989 |     self._verify_mock_calls()
2014-09-05 05:23:47.989 |   File "neutron/tests/unit/test_security_groups_rpc.py", line 2140, in _verify_mock_calls
2014-09-05 05:23:47.990 |     self.iptables_execute.call_count)
2014-09-05 05:23:47.990 |   File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 348, in assertEqual
2014-09-05 05:23:47.990 |     self.assertThat(observed, matcher, message)
2014-09-05 05:23:47.990 |   File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 433, in assertThat
2014-09-05 05:23:47.990 |     raise mismatch_error
2014-09-05 05:23:47.990 | MismatchError: 8 != 4
2014-09-05 05:23:47.990 |

** Affects: neutron
     Importance: Undecided
     Assignee: Miguel Angel Ajo (mangelajo)
         Status: Confirmed

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

Title:
  UT
  test_security_groups_rpc.TestSecurityGroupAgentEnhancedRpcWithIptables
  fails non deterministacally with MismatchError

Status in OpenStack Neutron (virtual network service):
  Confirmed

Bug description:
  
  It's only affecting py26/py27 neutron UTs, not tempest.

  http://logs.openstack.org/55/105855/21/check/gate-neutron-
  python26/f408f8a/console.html#_2014-09-05_05_23_47_990

  A bit wide search which could be including other failures too, but mostly works:
  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiTWlzbWF0Y2hFcnJvcjogOCAhPSA0XCIgQU5EIHRhZ3M6XCJjb25zb2xlXCIiLCJmaWVsZHMiOlsiYnVpbGRfY2hhbmdlIiwibWVzc2FnZSJdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6ImN1c3RvbSIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJmcm9tIjoiMjAxNC0wOC0wMVQwMDowMDowMCswMDowMCIsInRvIjoiMjAxNC0wOS0wNVQwNzozNjo0NyswMDowMCIsInVzZXJfaW50ZXJ2YWwiOiIwIn0sInN0YW1wIjoxNDA5OTA1NDcyMTEwLCJtb2RlIjoiIiwiYW5hbHl6ZV9maWVsZCI6IiJ9

  
  2014-09-05 05:23:47.988 | FAIL: neutron.tests.unit.test_security_groups_rpc.TestSecurityGroupAgentEnhancedRpcWithIptables.test_prepare_remove_port
  2014-09-05 05:23:47.988 | tags: worker-3
  2014-09-05 05:23:47.988 | ----------------------------------------------------------------------
  2014-09-05 05:23:47.988 | Traceback (most recent call last):
  2014-09-05 05:23:47.988 | _StringException: Empty attachments:
  2014-09-05 05:23:47.988 |   pythonlogging:'neutron.api.extensions'
  2014-09-05 05:23:47.988 |   stderr
  2014-09-05 05:23:47.989 |   stdout
  2014-09-05 05:23:47.989 | 
  2014-09-05 05:23:47.989 | pythonlogging:'': {{{
  2014-09-05 05:23:47.989 | 2014-09-05 05:23:48,051     INFO [neutron.agent.securitygroups_rpc] Preparing filters for devices ['tap_port1']
  2014-09-05 05:23:47.989 | 2014-09-05 05:23:48,053     INFO [neutron.openstack.common.lockutils] Created lock path: /tmp/tmp.PvSiI1ldrI/tmpLQG7MG/tmpl7ODUk/lock
  2014-09-05 05:23:47.989 | 2014-09-05 05:23:48,054     INFO [neutron.agent.securitygroups_rpc] Remove device filter for ['tap_port1']
  2014-09-05 05:23:47.989 | }}}
  2014-09-05 05:23:47.989 | 
  2014-09-05 05:23:47.989 | Traceback (most recent call last):
  2014-09-05 05:23:47.989 |   File "neutron/tests/unit/test_security_groups_rpc.py", line 2296, in test_prepare_remove_port
  2014-09-05 05:23:47.989 |     self._verify_mock_calls()
  2014-09-05 05:23:47.989 |   File "neutron/tests/unit/test_security_groups_rpc.py", line 2140, in _verify_mock_calls
  2014-09-05 05:23:47.990 |     self.iptables_execute.call_count)
  2014-09-05 05:23:47.990 |   File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 348, in assertEqual
  2014-09-05 05:23:47.990 |     self.assertThat(observed, matcher, message)
  2014-09-05 05:23:47.990 |   File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/testtools/testcase.py", line 433, in assertThat
  2014-09-05 05:23:47.990 |     raise mismatch_error
  2014-09-05 05:23:47.990 | MismatchError: 8 != 4
  2014-09-05 05:23:47.990 |

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


Follow ups

References