Public bug reported:

some of cisco unit tests, namely test_update_csr_firewall and 
test_update_csr_firewall_port_id,
are failing with "KeyError: 'firewall'".

http://logs.openstack.org/65/330865/1/check/gate-neutron-fwaas-
python27/eac8202/testr_results.html.gz

ft20.3: 
neutron_fwaas.tests.unit.services.firewall.plugins.cisco.test_cisco_fwaas_plugin.TestCiscoFirewallPlugin.test_update_csr_firewall_StringException:
 Empty attachments:
  stdout

pythonlogging:'': {{{
WARNING [neutron.api.extensions] Extension address-scope not supported by any 
of loaded plugins
 WARNING [neutron.api.extensions] Extension agent not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension allowed-address-pairs not supported 
by any of loaded plugins
 WARNING [neutron.api.extensions] Extension auto-allocated-topology not 
supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension availability_zone not supported by 
any of loaded plugins
 WARNING [neutron.api.extensions] Extension default-subnetpools not supported 
by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dhcp_agent_scheduler not supported 
by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dvr not supported by any of loaded 
plugins
 WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by any 
of loaded plugins
 WARNING [neutron.api.extensions] Extension extraroute not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension flavors not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension l3-ha not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by 
any of loaded plugins
 WARNING [neutron.api.extensions] Extension metering not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension multi-provider not supported by any 
of loaded plugins
 WARNING [neutron.api.extensions] Extension net-mtu not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension network_availability_zone not 
supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension network-ip-availability not 
supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension binding not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension port-security not supported by any 
of loaded plugins
 WARNING [neutron.api.extensions] Extension provider not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension qos not supported by any of loaded 
plugins
 WARNING [neutron.api.extensions] Extension quotas not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension router_availability_zone not 
supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router-service-type not supported 
by any of loaded plugins
 WARNING [neutron.api.extensions] Extension security-group not supported by any 
of loaded plugins
 WARNING [neutron.api.extensions] Extension segment not supported by any of 
loaded plugins
 WARNING [neutron.api.extensions] Extension service-type not supported by any 
of loaded plugins
 WARNING [neutron.api.extensions] Extension subnet_allocation not supported by 
any of loaded plugins
 WARNING [neutron.api.extensions] Extension tag not supported by any of loaded 
plugins
 WARNING [neutron.api.extensions] Extension timestamp_core not supported by any 
of loaded plugins
 WARNING [neutron.api.extensions] Extension vlan-transparent not supported by 
any of loaded plugins
 WARNING [neutron.quota.resource_registry] subnetpool is already registered
 WARNING [neutron.quota.resource_registry] subnet is already registered
 WARNING [neutron.quota.resource_registry] port is already registered
 WARNING [neutron.quota.resource_registry] network is already registered
 WARNING [neutron.quota.resource_registry] firewall is already registered
 WARNING [neutron.quota.resource_registry] firewall_rule is already registered
 WARNING [neutron.quota.resource_registry] firewall_policy is already registered
}}}

stderr: {{{
neutron_fwaas/extensions/cisco/csr_firewall_insertion.py:43: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
  'is_visible': True, 'default': attr.ATTR_NOT_SPECIFIED},
neutron_fwaas/extensions/cisco/csr_firewall_insertion.py:46: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
  'is_visible': True, 'default': attr.ATTR_NOT_SPECIFIED},
/tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  self.value = conv_func(value)
/tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  self.value = conv_func(value)
/tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  self.value = conv_func(value)
/tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  self.value = conv_func(value)
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_none_to_empty_list()' has moved to 
'neutron_lib.api.converters.convert_none_to_empty_list()' in version 'mitaka' 
and will be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
/tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
  res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
neutron_fwaas/services/firewall/plugins/cisco/cisco_fwaas_plugin.py:248: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
  if port_id == attr.ATTR_NOT_SPECIFIED:
neutron_fwaas/services/firewall/plugins/cisco/cisco_fwaas_plugin.py:258: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
  if direction == attr.ATTR_NOT_SPECIFIED:
}}}

Traceback (most recent call last):
  File 
"neutron_fwaas/tests/unit/services/firewall/plugins/cisco/test_cisco_fwaas_plugin.py",
 line 313, in test_update_csr_firewall
    self.assertEqual('firewall_2', res['firewall']['name'])
KeyError: 'firewall'

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: fwaas gate-failure

** Tags added: gate-failure

** Tags added: fwaas

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

Title:
  test_cisco_fwaas_plugin failure

Status in neutron:
  New

Bug description:
  some of cisco unit tests, namely test_update_csr_firewall and 
test_update_csr_firewall_port_id,
  are failing with "KeyError: 'firewall'".

  http://logs.openstack.org/65/330865/1/check/gate-neutron-fwaas-
  python27/eac8202/testr_results.html.gz

  ft20.3: 
neutron_fwaas.tests.unit.services.firewall.plugins.cisco.test_cisco_fwaas_plugin.TestCiscoFirewallPlugin.test_update_csr_firewall_StringException:
 Empty attachments:
    stdout

  pythonlogging:'': {{{
  WARNING [neutron.api.extensions] Extension address-scope not supported by any 
of loaded plugins
   WARNING [neutron.api.extensions] Extension agent not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension allowed-address-pairs not 
supported by any of loaded plugins
   WARNING [neutron.api.extensions] Extension auto-allocated-topology not 
supported by any of loaded plugins
   WARNING [neutron.api.extensions] Extension availability_zone not supported 
by any of loaded plugins
   WARNING [neutron.api.extensions] Extension default-subnetpools not supported 
by any of loaded plugins
   WARNING [neutron.api.extensions] Extension dhcp_agent_scheduler not 
supported by any of loaded plugins
   WARNING [neutron.api.extensions] Extension dvr not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by 
any of loaded plugins
   WARNING [neutron.api.extensions] Extension extraroute not supported by any 
of loaded plugins
   WARNING [neutron.api.extensions] Extension flavors not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any 
of loaded plugins
   WARNING [neutron.api.extensions] Extension l3-ha not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported 
by any of loaded plugins
   WARNING [neutron.api.extensions] Extension metering not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension multi-provider not supported by 
any of loaded plugins
   WARNING [neutron.api.extensions] Extension net-mtu not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension network_availability_zone not 
supported by any of loaded plugins
   WARNING [neutron.api.extensions] Extension network-ip-availability not 
supported by any of loaded plugins
   WARNING [neutron.api.extensions] Extension binding not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension port-security not supported by 
any of loaded plugins
   WARNING [neutron.api.extensions] Extension provider not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension qos not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension quotas not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension router_availability_zone not 
supported by any of loaded plugins
   WARNING [neutron.api.extensions] Extension router-service-type not supported 
by any of loaded plugins
   WARNING [neutron.api.extensions] Extension security-group not supported by 
any of loaded plugins
   WARNING [neutron.api.extensions] Extension segment not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension service-type not supported by any 
of loaded plugins
   WARNING [neutron.api.extensions] Extension subnet_allocation not supported 
by any of loaded plugins
   WARNING [neutron.api.extensions] Extension tag not supported by any of 
loaded plugins
   WARNING [neutron.api.extensions] Extension timestamp_core not supported by 
any of loaded plugins
   WARNING [neutron.api.extensions] Extension vlan-transparent not supported by 
any of loaded plugins
   WARNING [neutron.quota.resource_registry] subnetpool is already registered
   WARNING [neutron.quota.resource_registry] subnet is already registered
   WARNING [neutron.quota.resource_registry] port is already registered
   WARNING [neutron.quota.resource_registry] network is already registered
   WARNING [neutron.quota.resource_registry] firewall is already registered
   WARNING [neutron.quota.resource_registry] firewall_rule is already registered
   WARNING [neutron.quota.resource_registry] firewall_policy is already 
registered
  }}}

  stderr: {{{
  neutron_fwaas/extensions/cisco/csr_firewall_insertion.py:43: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
    'is_visible': True, 'default': attr.ATTR_NOT_SPECIFIED},
  neutron_fwaas/extensions/cisco/csr_firewall_insertion.py:46: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
    'is_visible': True, 'default': attr.ATTR_NOT_SPECIFIED},
  /tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    self.value = conv_func(value)
  /tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    self.value = conv_func(value)
  /tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    self.value = conv_func(value)
  /tmp/openstack/neutron/neutron/policy.py:302: DeprecationWarning: Function 
'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    self.value = conv_func(value)
  /tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_none_to_empty_list()' has moved to 
'neutron_lib.api.converters.convert_none_to_empty_list()' in version 'mitaka' 
and will be removed in version 'ocata': moved to neutron_lib
    res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
  /tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
  /tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
  /tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
  /tmp/openstack/neutron/neutron/api/v2/attributes.py:428: DeprecationWarning: 
Function 'neutron.api.v2.attributes.convert_to_boolean()' has moved to 
'neutron_lib.api.converters.convert_to_boolean()' in version 'mitaka' and will 
be removed in version 'ocata': moved to neutron_lib
    res_dict[attr] = attr_vals['convert_to'](res_dict[attr])
  neutron_fwaas/services/firewall/plugins/cisco/cisco_fwaas_plugin.py:248: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
    if port_id == attr.ATTR_NOT_SPECIFIED:
  neutron_fwaas/services/firewall/plugins/cisco/cisco_fwaas_plugin.py:258: 
DeprecationWarning: ATTR_NOT_SPECIFIED in version 'mitaka' and will be removed 
in version 'newton': moved to neutron_lib.constants
    if direction == attr.ATTR_NOT_SPECIFIED:
  }}}

  Traceback (most recent call last):
    File 
"neutron_fwaas/tests/unit/services/firewall/plugins/cisco/test_cisco_fwaas_plugin.py",
 line 313, in test_update_csr_firewall
      self.assertEqual('firewall_2', res['firewall']['name'])
  KeyError: 'firewall'

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to