unit.agent.test_securitygroups_rpc broken by neutron-lib 0.2.0

Bug #1585022 reported by Henry Gessau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Doug Wiegley

Bug Description

Example log:
http://logs.openstack.org/72/306272/16/check/gate-neutron-python27/d0e6735/console.html#_2016-05-23_21_16_56_452

 ==============================
 Failed 12 tests - output below:
 ==============================

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentEnhancedIpsetWithIptables.test_security_group_member_updated
 -----------------------------------------------------------------------------------------------------------------------------------

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 3048, in test_security_group_member_updated
         self._verify_mock_calls(True)
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentWithIptables.test_security_group_member_updated
 ----------------------------------------------------------------------------------------------------------------------

 Captured pythonlogging:
 ~~~~~~~~~~~~~~~~~~~~~~~
      WARNING [neutron.agent.securitygroups_rpc] security_group_info_for_devices rpc call not supported by the server, falling back to old security_group_rules_for_devices which scales worse.

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2868, in test_security_group_member_updated
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentWithIptables.test_security_group_rule_updated
 --------------------------------------------------------------------------------------------------------------------

 Captured pythonlogging:
 ~~~~~~~~~~~~~~~~~~~~~~~
      WARNING [neutron.agent.securitygroups_rpc] security_group_info_for_devices rpc call not supported by the server, falling back to old security_group_rules_for_devices which scales worse.

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2881, in test_security_group_rule_updated
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentWithOVSIptables.test_security_group_rule_updated
 -----------------------------------------------------------------------------------------------------------------------

 Captured pythonlogging:
 ~~~~~~~~~~~~~~~~~~~~~~~
      WARNING [neutron.agent.securitygroups_rpc] security_group_info_for_devices rpc call not supported by the server, falling back to old security_group_rules_for_devices which scales worse.

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 3185, in test_security_group_rule_updated
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentEnhancedIpsetWithIptables.test_prepare_remove_port
 -------------------------------------------------------------------------------------------------------------------------

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 3022, in test_prepare_remove_port
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentEnhancedIpsetWithIptables.test_security_group_rule_updated
 ---------------------------------------------------------------------------------------------------------------------------------

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 3063, in test_security_group_rule_updated
         self._verify_mock_calls(True)
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentEnhancedRpcWithIptables.test_security_group_member_updated
 ---------------------------------------------------------------------------------------------------------------------------------

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2982, in test_security_group_member_updated
         self._verify_mock_calls(True)
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentWithIptables.test_prepare_remove_port
 ------------------------------------------------------------------------------------------------------------

 Captured pythonlogging:
 ~~~~~~~~~~~~~~~~~~~~~~~
      WARNING [neutron.agent.securitygroups_rpc] security_group_info_for_devices rpc call not supported by the server, falling back to old security_group_rules_for_devices which scales worse.

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2842, in test_prepare_remove_port
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentEnhancedRpcWithIptables.test_prepare_remove_port
 -----------------------------------------------------------------------------------------------------------------------

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2956, in test_prepare_remove_port
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentWithOVSIptables.test_prepare_remove_port
 ---------------------------------------------------------------------------------------------------------------

 Captured pythonlogging:
 ~~~~~~~~~~~~~~~~~~~~~~~
      WARNING [neutron.agent.securitygroups_rpc] security_group_info_for_devices rpc call not supported by the server, falling back to old security_group_rules_for_devices which scales worse.

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 3146, in test_prepare_remove_port
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentEnhancedRpcWithIptables.test_security_group_rule_updated
 -------------------------------------------------------------------------------------------------------------------------------

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2997, in test_security_group_rule_updated
         self._verify_mock_calls(True)
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

 neutron.tests.unit.agent.test_securitygroups_rpc.TestSecurityGroupAgentWithOVSIptables.test_security_group_member_updated
 -------------------------------------------------------------------------------------------------------------------------

 Captured pythonlogging:
 ~~~~~~~~~~~~~~~~~~~~~~~
      WARNING [neutron.agent.securitygroups_rpc] security_group_info_for_devices rpc call not supported by the server, falling back to old security_group_rules_for_devices which scales worse.

 Captured traceback:
 ~~~~~~~~~~~~~~~~~~~
     Traceback (most recent call last):
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 3172, in test_security_group_member_updated
         self._verify_mock_calls()
       File "neutron/tests/unit/agent/test_securitygroups_rpc.py", line 2800, in _verify_mock_calls
         matchers.MatchesRegex(expected_regex))
       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
         raise mismatch_error

Henry Gessau (gessau)
summary: - unit.agent.test_securitygroups_rpcneutron.tests.unit.agent.test_securitygroups_rpc
- broken by neutron-lib 0.2.0
+ unit.agent.test_securitygroups_rpc broken by neutron-lib 0.2.0
tags: added: gate-failure unittest
Changed in neutron:
importance: Undecided → Critical
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/320213

Changed in neutron:
assignee: nobody → Doug Wiegley (dougwig)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 067a5c2a47026fccd09ce10e45eb16f5f9310234
Author: Doug Wiegley <email address hidden>
Date: Mon May 23 21:56:02 2016 -0600

    Fix unit test for new list of icmpv6 allowed_types

    But, we now have accept and reject rules for 134. Was this change to the
    list correct? IPv6 types need to take a look at this.

    Closes-bug: #1585022
    Change-Id: Icc408a2ca3121f32e605ce612dcc07905a069cd5

Changed in neutron:
status: In Progress → Fix Released
tags: added: lib
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b1

This issue was fixed in the openstack/neutron 9.0.0.0b1 development milestone.

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.