← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1283284] [NEW] radware test_create_vip sometimes fails

 

Public bug reported:

        
ft1.7575: neutron.tests.unit.services.loadbalancer.drivers.radware.test_plugin_driver.TestLoadBalancerPlugin.test_create_vip_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2014-02-21 21:51:12,977     INFO [neutron.manager] Loading core plugin: neutron.db.db_base_plugin_v2.NeutronDbPluginV2
2014-02-21 21:51:12,981    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,981    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='978708752'> is not JSON serializable
2014-02-21 21:51:12,981    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,981    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='997764240'> is not JSON serializable
2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='907861776'> is not JSON serializable
2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='761320784'> is not JSON serializable
2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='1007004432'> is not JSON serializable
2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='772575120'> is not JSON serializable
2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='1083942032'> is not JSON serializable
2014-02-21 21:51:12,988    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:12,988    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
Traceback (most recent call last):
  File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
    self.agent_state)
  File "neutron/agent/rpc.py", line 74, in report_state
    return self.cast(context, msg, topic=self.topic)
  File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
    rpc.cast(context, self._get_topic(topic), msg)
  File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
    return _get_impl().cast(CONF, context, topic, msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
    check_serialize(msg)
  File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
    json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <Mock name='mock.host' id='1032466768'> is not JSON serializable
2014-02-21 21:51:12,988    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
Traceback (most recent call last):
  File "neutron/openstack/common/loopingcall.py", line 80, in _inner
    delay = interval - timeutils.delta_seconds(start, end)
TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
2014-02-21 21:51:13,065     INFO [neutron.manager] Loading Plugin: neutron.services.loadbalancer.plugin.LoadBalancerPlugin
2014-02-21 21:51:13,126     INFO [neutron.api.extensions] Initializing extension manager.
2014-02-21 21:51:13,126    ERROR [neutron.api.extensions] Extension path 'unit/extensions' doesn't exist!
2014-02-21 21:51:13,126     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.pyc
2014-02-21 21:51:13,126     INFO [neutron.api.extensions] Loading extension file: loadbalancer.py
2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loaded extension: lbaas
2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: extraroute.py
2014-02-21 21:51:13,130  WARNING [neutron.api.extensions] Extension extraroute not supported by any of loaded plugins
2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.py
2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loaded extension: lbaas_agent_scheduler
2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: firewall.pyc
2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: portsecurity.pyc
2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.py
2014-02-21 21:51:13,130  WARNING [neutron.api.extensions] Extension dhcp_agent_scheduler not supported by any of loaded plugins
2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: securitygroup.py
2014-02-21 21:51:13,133  WARNING [neutron.api.extensions] Extension security-group not supported by any of loaded plugins
2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: quotasv2.pyc
2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: firewall.py
2014-02-21 21:51:13,133  WARNING [neutron.api.extensions] Extension fwaas not supported by any of loaded plugins
2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.py
2014-02-21 21:51:13,136  WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any of loaded plugins
2014-02-21 21:51:13,136     INFO [neutron.api.extensions] Loading extension file: providernet.py
2014-02-21 21:51:13,137  WARNING [neutron.api.extensions] Extension provider not supported by any of loaded plugins
2014-02-21 21:51:13,137     INFO [neutron.api.extensions] Loading extension file: l3.py
2014-02-21 21:51:13,138  WARNING [neutron.api.extensions] Extension router not supported by any of loaded plugins
2014-02-21 21:51:13,138     INFO [neutron.api.extensions] Loading extension file: external_net.pyc
2014-02-21 21:51:13,138     INFO [neutron.api.extensions] Loading extension file: portbindings.py
2014-02-21 21:51:13,138  WARNING [neutron.api.extensions] Extension binding not supported by any of loaded plugins
2014-02-21 21:51:13,138     INFO [neutron.api.extensions] Loading extension file: portbindings.pyc
2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: vpnaas.pyc
2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: flavor.py
2014-02-21 21:51:13,139  WARNING [neutron.api.extensions] Extension flavor not supported by any of loaded plugins
2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: external_net.py
2014-02-21 21:51:13,139  WARNING [neutron.api.extensions] Extension external-net not supported by any of loaded plugins
2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: quotasv2.py
2014-02-21 21:51:13,141  WARNING [neutron.api.extensions] Extension quotas not supported by any of loaded plugins
2014-02-21 21:51:13,141     INFO [neutron.api.extensions] Loading extension file: portsecurity.py
2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins
2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.py
2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension routed-service-insertion not supported by any of loaded plugins
2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: servicetype.pyc
2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: flavor.pyc
2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.py
2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by any of loaded plugins
2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.pyc
2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.py
2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension allowed-address-pairs not supported by any of loaded plugins
2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: agent.py
2014-02-21 21:51:13,145  WARNING [neutron.api.extensions] Extension agent not supported by any of loaded plugins
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.py
2014-02-21 21:51:13,145  WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by any of loaded plugins
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: agent.pyc
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: loadbalancer.pyc
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: servicetype.py
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loaded extension: service-type
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: routerservicetype.pyc
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.pyc
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.pyc
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.pyc
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: l3.pyc
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: metering.py
2014-02-21 21:51:13,145  WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.pyc
2014-02-21 21:51:13,146     INFO [neutron.api.extensions] Loading extension file: securitygroup.pyc
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: __init__.pyc
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: metering.pyc
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: extraroute.pyc
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.pyc
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: vpnaas.py
2014-02-21 21:51:13,149  WARNING [neutron.api.extensions] Extension vpnaas not supported by any of loaded plugins
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.pyc
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.py
2014-02-21 21:51:13,149  WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: providernet.pyc
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: __init__.py
2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: routerservicetype.py
2014-02-21 21:51:13,149  WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
2014-02-21 21:51:13,177     INFO [neutron.api.extensions] Initializing extension manager.
2014-02-21 21:51:13,177     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.pyc
2014-02-21 21:51:13,177     INFO [neutron.api.extensions] Loading extension file: loadbalancer.py
2014-02-21 21:51:13,178     INFO [neutron.api.extensions] Loaded extension: lbaas
2014-02-21 21:51:13,178     INFO [neutron.api.extensions] Loading extension file: extraroute.py
2014-02-21 21:51:13,178  WARNING [neutron.api.extensions] Extension extraroute not supported by any of loaded plugins
2014-02-21 21:51:13,178     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.py
2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loaded extension: lbaas_agent_scheduler
2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: firewall.pyc
2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: portsecurity.pyc
2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.py
2014-02-21 21:51:13,181  WARNING [neutron.api.extensions] Extension dhcp_agent_scheduler not supported by any of loaded plugins
2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: securitygroup.py
2014-02-21 21:51:13,183  WARNING [neutron.api.extensions] Extension security-group not supported by any of loaded plugins
2014-02-21 21:51:13,183     INFO [neutron.api.extensions] Loading extension file: quotasv2.pyc
2014-02-21 21:51:13,183     INFO [neutron.api.extensions] Loading extension file: firewall.py
2014-02-21 21:51:13,185  WARNING [neutron.api.extensions] Extension fwaas not supported by any of loaded plugins
2014-02-21 21:51:13,185     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.py
2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any of loaded plugins
2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: providernet.py
2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension provider not supported by any of loaded plugins
2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: l3.py
2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension router not supported by any of loaded plugins
2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: external_net.pyc
2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: portbindings.py
2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension binding not supported by any of loaded plugins
2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: portbindings.pyc
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: vpnaas.pyc
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: flavor.py
2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension flavor not supported by any of loaded plugins
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: external_net.py
2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension external-net not supported by any of loaded plugins
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: quotasv2.py
2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension quotas not supported by any of loaded plugins
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: portsecurity.py
2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.py
2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension routed-service-insertion not supported by any of loaded plugins
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: servicetype.pyc
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: flavor.pyc
2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.py
2014-02-21 21:51:13,193  WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by any of loaded plugins
2014-02-21 21:51:13,193     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.pyc
2014-02-21 21:51:13,193     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.py
2014-02-21 21:51:13,193  WARNING [neutron.api.extensions] Extension allowed-address-pairs not supported by any of loaded plugins
2014-02-21 21:51:13,193     INFO [neutron.api.extensions] Loading extension file: agent.py
2014-02-21 21:51:13,195  WARNING [neutron.api.extensions] Extension agent not supported by any of loaded plugins
2014-02-21 21:51:13,195     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.py
2014-02-21 21:51:13,196  WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by any of loaded plugins
2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: agent.pyc
2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: loadbalancer.pyc
2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: servicetype.py
2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loaded extension: service-type
2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: routerservicetype.pyc
2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.pyc
2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.pyc
2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.pyc
2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: l3.pyc
2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: metering.py
2014-02-21 21:51:13,198  WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
2014-02-21 21:51:13,198     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.pyc
2014-02-21 21:51:13,198     INFO [neutron.api.extensions] Loading extension file: securitygroup.pyc
2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: __init__.pyc
2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: metering.pyc
2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: extraroute.pyc
2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.pyc
2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: vpnaas.py
2014-02-21 21:51:13,199  WARNING [neutron.api.extensions] Extension vpnaas not supported by any of loaded plugins
2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.pyc
2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.py
2014-02-21 21:51:13,201  WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins
2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: providernet.pyc
2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: __init__.py
2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: routerservicetype.py
2014-02-21 21:51:13,201  WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
2014-02-21 21:51:13,201     INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python27/neutron/tests/etc/api-paste.ini.test
2014-02-21 21:51:13,215     INFO [neutron.manager] Loading core plugin: neutron.db.db_base_plugin_v2.NeutronDbPluginV2
2014-02-21 21:51:13,237     INFO [neutron.manager] Loading Plugin: neutron.services.loadbalancer.plugin.LoadBalancerPlugin
2014-02-21 21:51:13,465    ERROR [neutron.api.v2.resource] delete failed
Traceback (most recent call last):
  File "neutron/api/v2/resource.py", line 84, in resource
    result = method(request=request, **args)
  File "neutron/api/v2/base.py", line 438, in delete
    obj_deleter(request.context, id, **kwargs)
  File "neutron/services/loadbalancer/plugin.py", line 193, in delete_pool
    self._ensure_pool_delete_conditions(context, id)
  File "neutron/db/loadbalancer/loadbalancer_db.py", line 570, in _ensure_pool_delete_conditions
    raise loadbalancer.PoolInUse(pool_id=pool_id)
PoolInUse: Pool 60410d9b-5515-4719-b21e-b054bee6b93f is still in use
2014-02-21 21:51:13,489    ERROR [neutron.api.v2.resource] delete failed
Traceback (most recent call last):
  File "neutron/api/v2/resource.py", line 84, in resource
    result = method(request=request, **args)
  File "neutron/api/v2/base.py", line 438, in delete
    obj_deleter(request.context, id, **kwargs)
  File "neutron/db/db_base_plugin_v2.py", line 1237, in delete_subnet
    raise q_exc.SubnetInUse(subnet_id=id)
SubnetInUse: Unable to complete operation on subnet 521472e1-f5de-4316-8ed4-a54a39e417ec. One or more ports have an IP allocation from this subnet.
2014-02-21 21:51:13,517    ERROR [neutron.api.v2.resource] delete failed
Traceback (most recent call last):
  File "neutron/api/v2/resource.py", line 84, in resource
    result = method(request=request, **args)
  File "neutron/api/v2/base.py", line 438, in delete
    obj_deleter(request.context, id, **kwargs)
  File "neutron/db/db_base_plugin_v2.py", line 959, in delete_network
    raise q_exc.NetworkInUse(net_id=id)
NetworkInUse: Unable to complete operation on network c743834f-9a53-4c35-aad2-9149c011ac8e. There are one or more ports still in use on the network.
}}}

Traceback (most recent call last):
  File "neutron/tests/unit/services/loadbalancer/drivers/radware/test_plugin_driver.py", line 234, in test_create_vip
    self.rest_call_mock.assert_has_calls(calls, any_order=True)
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "neutron/tests/unit/test_db_plugin.py", line 559, in subnet
    self._delete('subnets', subnet['subnet']['id'])
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "neutron/tests/unit/test_db_plugin.py", line 530, in network
    self._delete('networks', network['network']['id'])
  File "neutron/tests/unit/test_db_plugin.py", line 446, in _delete
    self.assertEqual(res.status_int, expected_code)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: 409 != 204

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  radware test_create_vip sometimes fails

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
          
  ft1.7575: neutron.tests.unit.services.loadbalancer.drivers.radware.test_plugin_driver.TestLoadBalancerPlugin.test_create_vip_StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2014-02-21 21:51:12,977     INFO [neutron.manager] Loading core plugin: neutron.db.db_base_plugin_v2.NeutronDbPluginV2
  2014-02-21 21:51:12,981    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,981    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='978708752'> is not JSON serializable
  2014-02-21 21:51:12,981    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,981    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='997764240'> is not JSON serializable
  2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='907861776'> is not JSON serializable
  2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='761320784'> is not JSON serializable
  2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='1007004432'> is not JSON serializable
  2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='772575120'> is not JSON serializable
  2014-02-21 21:51:12,985    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,985    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='1083942032'> is not JSON serializable
  2014-02-21 21:51:12,988    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:12,988    ERROR [neutron.services.loadbalancer.agent.agent_manager] Failed reporting state!
  Traceback (most recent call last):
    File "neutron/services/loadbalancer/agent/agent_manager.py", line 122, in _report_state
      self.agent_state)
    File "neutron/agent/rpc.py", line 74, in report_state
      return self.cast(context, msg, topic=self.topic)
    File "neutron/openstack/common/rpc/proxy.py", line 170, in cast
      rpc.cast(context, self._get_topic(topic), msg)
    File "neutron/openstack/common/rpc/__init__.py", line 155, in cast
      return _get_impl().cast(CONF, context, topic, msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 165, in cast
      check_serialize(msg)
    File "neutron/openstack/common/rpc/impl_fake.py", line 130, in check_serialize
      json.dumps(msg)
    File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
      return _default_encoder.encode(obj)
    File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
      chunks = self.iterencode(o, _one_shot=True)
    File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
      return _iterencode(o, 0)
    File "/usr/lib/python2.7/json/encoder.py", line 178, in default
      raise TypeError(repr(o) + " is not JSON serializable")
  TypeError: <Mock name='mock.host' id='1032466768'> is not JSON serializable
  2014-02-21 21:51:12,988    ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call
  Traceback (most recent call last):
    File "neutron/openstack/common/loopingcall.py", line 80, in _inner
      delay = interval - timeutils.delta_seconds(start, end)
  TypeError: unsupported operand type(s) for -: 'Mock' and 'float'
  2014-02-21 21:51:13,065     INFO [neutron.manager] Loading Plugin: neutron.services.loadbalancer.plugin.LoadBalancerPlugin
  2014-02-21 21:51:13,126     INFO [neutron.api.extensions] Initializing extension manager.
  2014-02-21 21:51:13,126    ERROR [neutron.api.extensions] Extension path 'unit/extensions' doesn't exist!
  2014-02-21 21:51:13,126     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.pyc
  2014-02-21 21:51:13,126     INFO [neutron.api.extensions] Loading extension file: loadbalancer.py
  2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loaded extension: lbaas
  2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: extraroute.py
  2014-02-21 21:51:13,130  WARNING [neutron.api.extensions] Extension extraroute not supported by any of loaded plugins
  2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.py
  2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loaded extension: lbaas_agent_scheduler
  2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: firewall.pyc
  2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: portsecurity.pyc
  2014-02-21 21:51:13,130     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.py
  2014-02-21 21:51:13,130  WARNING [neutron.api.extensions] Extension dhcp_agent_scheduler not supported by any of loaded plugins
  2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: securitygroup.py
  2014-02-21 21:51:13,133  WARNING [neutron.api.extensions] Extension security-group not supported by any of loaded plugins
  2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: quotasv2.pyc
  2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: firewall.py
  2014-02-21 21:51:13,133  WARNING [neutron.api.extensions] Extension fwaas not supported by any of loaded plugins
  2014-02-21 21:51:13,133     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.py
  2014-02-21 21:51:13,136  WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any of loaded plugins
  2014-02-21 21:51:13,136     INFO [neutron.api.extensions] Loading extension file: providernet.py
  2014-02-21 21:51:13,137  WARNING [neutron.api.extensions] Extension provider not supported by any of loaded plugins
  2014-02-21 21:51:13,137     INFO [neutron.api.extensions] Loading extension file: l3.py
  2014-02-21 21:51:13,138  WARNING [neutron.api.extensions] Extension router not supported by any of loaded plugins
  2014-02-21 21:51:13,138     INFO [neutron.api.extensions] Loading extension file: external_net.pyc
  2014-02-21 21:51:13,138     INFO [neutron.api.extensions] Loading extension file: portbindings.py
  2014-02-21 21:51:13,138  WARNING [neutron.api.extensions] Extension binding not supported by any of loaded plugins
  2014-02-21 21:51:13,138     INFO [neutron.api.extensions] Loading extension file: portbindings.pyc
  2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: vpnaas.pyc
  2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: flavor.py
  2014-02-21 21:51:13,139  WARNING [neutron.api.extensions] Extension flavor not supported by any of loaded plugins
  2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: external_net.py
  2014-02-21 21:51:13,139  WARNING [neutron.api.extensions] Extension external-net not supported by any of loaded plugins
  2014-02-21 21:51:13,139     INFO [neutron.api.extensions] Loading extension file: quotasv2.py
  2014-02-21 21:51:13,141  WARNING [neutron.api.extensions] Extension quotas not supported by any of loaded plugins
  2014-02-21 21:51:13,141     INFO [neutron.api.extensions] Loading extension file: portsecurity.py
  2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins
  2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.py
  2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension routed-service-insertion not supported by any of loaded plugins
  2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: servicetype.pyc
  2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: flavor.pyc
  2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.py
  2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by any of loaded plugins
  2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.pyc
  2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.py
  2014-02-21 21:51:13,142  WARNING [neutron.api.extensions] Extension allowed-address-pairs not supported by any of loaded plugins
  2014-02-21 21:51:13,142     INFO [neutron.api.extensions] Loading extension file: agent.py
  2014-02-21 21:51:13,145  WARNING [neutron.api.extensions] Extension agent not supported by any of loaded plugins
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.py
  2014-02-21 21:51:13,145  WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by any of loaded plugins
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: agent.pyc
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: loadbalancer.pyc
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: servicetype.py
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loaded extension: service-type
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: routerservicetype.pyc
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.pyc
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.pyc
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.pyc
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: l3.pyc
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: metering.py
  2014-02-21 21:51:13,145  WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
  2014-02-21 21:51:13,145     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.pyc
  2014-02-21 21:51:13,146     INFO [neutron.api.extensions] Loading extension file: securitygroup.pyc
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: __init__.pyc
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: metering.pyc
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: extraroute.pyc
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.pyc
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: vpnaas.py
  2014-02-21 21:51:13,149  WARNING [neutron.api.extensions] Extension vpnaas not supported by any of loaded plugins
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.pyc
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.py
  2014-02-21 21:51:13,149  WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: providernet.pyc
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: __init__.py
  2014-02-21 21:51:13,149     INFO [neutron.api.extensions] Loading extension file: routerservicetype.py
  2014-02-21 21:51:13,149  WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
  2014-02-21 21:51:13,177     INFO [neutron.api.extensions] Initializing extension manager.
  2014-02-21 21:51:13,177     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.pyc
  2014-02-21 21:51:13,177     INFO [neutron.api.extensions] Loading extension file: loadbalancer.py
  2014-02-21 21:51:13,178     INFO [neutron.api.extensions] Loaded extension: lbaas
  2014-02-21 21:51:13,178     INFO [neutron.api.extensions] Loading extension file: extraroute.py
  2014-02-21 21:51:13,178  WARNING [neutron.api.extensions] Extension extraroute not supported by any of loaded plugins
  2014-02-21 21:51:13,178     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.py
  2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loaded extension: lbaas_agent_scheduler
  2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: firewall.pyc
  2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: portsecurity.pyc
  2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.py
  2014-02-21 21:51:13,181  WARNING [neutron.api.extensions] Extension dhcp_agent_scheduler not supported by any of loaded plugins
  2014-02-21 21:51:13,181     INFO [neutron.api.extensions] Loading extension file: securitygroup.py
  2014-02-21 21:51:13,183  WARNING [neutron.api.extensions] Extension security-group not supported by any of loaded plugins
  2014-02-21 21:51:13,183     INFO [neutron.api.extensions] Loading extension file: quotasv2.pyc
  2014-02-21 21:51:13,183     INFO [neutron.api.extensions] Loading extension file: firewall.py
  2014-02-21 21:51:13,185  WARNING [neutron.api.extensions] Extension fwaas not supported by any of loaded plugins
  2014-02-21 21:51:13,185     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.py
  2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any of loaded plugins
  2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: providernet.py
  2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension provider not supported by any of loaded plugins
  2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: l3.py
  2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension router not supported by any of loaded plugins
  2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: external_net.pyc
  2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: portbindings.py
  2014-02-21 21:51:13,186  WARNING [neutron.api.extensions] Extension binding not supported by any of loaded plugins
  2014-02-21 21:51:13,186     INFO [neutron.api.extensions] Loading extension file: portbindings.pyc
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: vpnaas.pyc
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: flavor.py
  2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension flavor not supported by any of loaded plugins
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: external_net.py
  2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension external-net not supported by any of loaded plugins
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: quotasv2.py
  2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension quotas not supported by any of loaded plugins
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: portsecurity.py
  2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.py
  2014-02-21 21:51:13,189  WARNING [neutron.api.extensions] Extension routed-service-insertion not supported by any of loaded plugins
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: servicetype.pyc
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: flavor.pyc
  2014-02-21 21:51:13,189     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.py
  2014-02-21 21:51:13,193  WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by any of loaded plugins
  2014-02-21 21:51:13,193     INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.pyc
  2014-02-21 21:51:13,193     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.py
  2014-02-21 21:51:13,193  WARNING [neutron.api.extensions] Extension allowed-address-pairs not supported by any of loaded plugins
  2014-02-21 21:51:13,193     INFO [neutron.api.extensions] Loading extension file: agent.py
  2014-02-21 21:51:13,195  WARNING [neutron.api.extensions] Extension agent not supported by any of loaded plugins
  2014-02-21 21:51:13,195     INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.py
  2014-02-21 21:51:13,196  WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by any of loaded plugins
  2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: agent.pyc
  2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: loadbalancer.pyc
  2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: servicetype.py
  2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loaded extension: service-type
  2014-02-21 21:51:13,196     INFO [neutron.api.extensions] Loading extension file: routerservicetype.pyc
  2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.pyc
  2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.pyc
  2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.pyc
  2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: l3.pyc
  2014-02-21 21:51:13,197     INFO [neutron.api.extensions] Loading extension file: metering.py
  2014-02-21 21:51:13,198  WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
  2014-02-21 21:51:13,198     INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.pyc
  2014-02-21 21:51:13,198     INFO [neutron.api.extensions] Loading extension file: securitygroup.pyc
  2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: __init__.pyc
  2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: metering.pyc
  2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: extraroute.pyc
  2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.pyc
  2014-02-21 21:51:13,199     INFO [neutron.api.extensions] Loading extension file: vpnaas.py
  2014-02-21 21:51:13,199  WARNING [neutron.api.extensions] Extension vpnaas not supported by any of loaded plugins
  2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.pyc
  2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: multiprovidernet.py
  2014-02-21 21:51:13,201  WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins
  2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: providernet.pyc
  2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: __init__.py
  2014-02-21 21:51:13,201     INFO [neutron.api.extensions] Loading extension file: routerservicetype.py
  2014-02-21 21:51:13,201  WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
  2014-02-21 21:51:13,201     INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python27/neutron/tests/etc/api-paste.ini.test
  2014-02-21 21:51:13,215     INFO [neutron.manager] Loading core plugin: neutron.db.db_base_plugin_v2.NeutronDbPluginV2
  2014-02-21 21:51:13,237     INFO [neutron.manager] Loading Plugin: neutron.services.loadbalancer.plugin.LoadBalancerPlugin
  2014-02-21 21:51:13,465    ERROR [neutron.api.v2.resource] delete failed
  Traceback (most recent call last):
    File "neutron/api/v2/resource.py", line 84, in resource
      result = method(request=request, **args)
    File "neutron/api/v2/base.py", line 438, in delete
      obj_deleter(request.context, id, **kwargs)
    File "neutron/services/loadbalancer/plugin.py", line 193, in delete_pool
      self._ensure_pool_delete_conditions(context, id)
    File "neutron/db/loadbalancer/loadbalancer_db.py", line 570, in _ensure_pool_delete_conditions
      raise loadbalancer.PoolInUse(pool_id=pool_id)
  PoolInUse: Pool 60410d9b-5515-4719-b21e-b054bee6b93f is still in use
  2014-02-21 21:51:13,489    ERROR [neutron.api.v2.resource] delete failed
  Traceback (most recent call last):
    File "neutron/api/v2/resource.py", line 84, in resource
      result = method(request=request, **args)
    File "neutron/api/v2/base.py", line 438, in delete
      obj_deleter(request.context, id, **kwargs)
    File "neutron/db/db_base_plugin_v2.py", line 1237, in delete_subnet
      raise q_exc.SubnetInUse(subnet_id=id)
  SubnetInUse: Unable to complete operation on subnet 521472e1-f5de-4316-8ed4-a54a39e417ec. One or more ports have an IP allocation from this subnet.
  2014-02-21 21:51:13,517    ERROR [neutron.api.v2.resource] delete failed
  Traceback (most recent call last):
    File "neutron/api/v2/resource.py", line 84, in resource
      result = method(request=request, **args)
    File "neutron/api/v2/base.py", line 438, in delete
      obj_deleter(request.context, id, **kwargs)
    File "neutron/db/db_base_plugin_v2.py", line 959, in delete_network
      raise q_exc.NetworkInUse(net_id=id)
  NetworkInUse: Unable to complete operation on network c743834f-9a53-4c35-aad2-9149c011ac8e. There are one or more ports still in use on the network.
  }}}

  Traceback (most recent call last):
    File "neutron/tests/unit/services/loadbalancer/drivers/radware/test_plugin_driver.py", line 234, in test_create_vip
      self.rest_call_mock.assert_has_calls(calls, any_order=True)
    File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
    File "neutron/tests/unit/test_db_plugin.py", line 559, in subnet
      self._delete('subnets', subnet['subnet']['id'])
    File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
      self.gen.throw(type, value, traceback)
    File "neutron/tests/unit/test_db_plugin.py", line 530, in network
      self._delete('networks', network['network']['id'])
    File "neutron/tests/unit/test_db_plugin.py", line 446, in _delete
      self.assertEqual(res.status_int, expected_code)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
      raise mismatch_error
  MismatchError: 409 != 204

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


Follow ups

References