Public bug reported: ft1.6695: neutron.tests.unit.services.loadbalancer.test_agent_scheduler.LBaaSAgentSchedulerTestCaseXML.test_schedule_pool_with_down_agent_StringException: Empty attachments: stderr stdout
pythonlogging:'': {{{ 2014-04-22 01:44:50,176 INFO [neutron.manager] Loading Plugin: neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 2014-04-22 01:44:50,178 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='523535184'> is not JSON serializable 2014-04-22 01:44:50,180 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,180 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='368773584'> is not JSON serializable 2014-04-22 01:44:50,180 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,181 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='497014864'> is not JSON serializable 2014-04-22 01:44:50,181 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,181 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='523507728'> is not JSON serializable 2014-04-22 01:44:50,181 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,182 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='497033488'> is not JSON serializable 2014-04-22 01:44:50,182 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,182 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='421260880'> is not JSON serializable 2014-04-22 01:44:50,182 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,261 INFO [neutron.plugins.openvswitch.ovs_neutron_plugin] Network VLAN ranges: {} 2014-04-22 01:44:50,263 INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin 2014-04-22 01:44:50,263 INFO [neutron.manager] Loading Plugin: neutron.services.loadbalancer.plugin.LoadBalancerPlugin 2014-04-22 01:44:50,285 INFO [neutron.api.extensions] Initializing extension manager. 2014-04-22 01:44:50,285 ERROR [neutron.api.extensions] Extension path 'unit/extensions' doesn't exist! 2014-04-22 01:44:50,285 INFO [neutron.api.extensions] Loading extension file: portbindings.py 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loaded extension: binding 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: l3.pyc 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.pyc 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: providernet.pyc 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: routerservicetype.py 2014-04-22 01:44:50,286 WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.py 2014-04-22 01:44:50,287 INFO [neutron.api.extensions] Loaded extension: extra_dhcp_opt 2014-04-22 01:44:50,287 INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.py 2014-04-22 01:44:50,287 WARNING [neutron.api.extensions] Extension routed-service-insertion not supported by any of loaded plugins 2014-04-22 01:44:50,287 INFO [neutron.api.extensions] Loading extension file: metering.py 2014-04-22 01:44:50,288 WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: external_net.pyc 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: metering.pyc 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: loadbalancer.pyc 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: portsecurity.py 2014-04-22 01:44:50,289 WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins 2014-04-22 01:44:50,289 INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.py 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loaded extension: l3_agent_scheduler 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.pyc 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loading extension file: multiprovidernet.py 2014-04-22 01:44:50,290 WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loading extension file: agent.py 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loaded extension: agent 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: extraroute.pyc 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: external_net.py 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loaded extension: external-net 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: quotasv2.pyc 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: firewall.pyc 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.py 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loaded extension: lbaas_agent_scheduler 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loading extension file: multiprovidernet.pyc 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.py 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loaded extension: ext-gw-mode 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loading extension file: providernet.py 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loaded extension: provider 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loading extension file: servicetype.py 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loaded extension: service-type 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: quotasv2.py 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loaded extension: quotas 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: securitygroup.pyc 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.pyc 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: securitygroup.py 2014-04-22 01:44:50,296 WARNING [neutron.api.extensions] Extension security-group not supported by any of loaded plugins 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: vpnaas.pyc 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: __init__.py 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: flavor.pyc 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.pyc 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: portbindings.pyc 2014-04-22 01:44:50,297 INFO [neutron.api.extensions] Loading extension file: __init__.pyc 2014-04-22 01:44:50,297 INFO [neutron.api.extensions] Loading extension file: loadbalancer.py 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loaded extension: lbaas 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: agent.pyc 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: flavor.py 2014-04-22 01:44:50,298 WARNING [neutron.api.extensions] Extension flavor not supported by any of loaded plugins 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: servicetype.pyc 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: extraroute.py 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loaded extension: extraroute 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.pyc 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loading extension file: routerservicetype.pyc 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loading extension file: l3.py 2014-04-22 01:44:50,300 INFO [neutron.api.extensions] Loaded extension: router 2014-04-22 01:44:50,300 INFO [neutron.api.extensions] Loading extension file: vpnaas.py 2014-04-22 01:44:50,301 WARNING [neutron.api.extensions] Extension vpnaas not supported by any of loaded plugins 2014-04-22 01:44:50,301 INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.py 2014-04-22 01:44:50,301 INFO [neutron.api.extensions] Loaded extension: allowed-address-pairs 2014-04-22 01:44:50,302 INFO [neutron.api.extensions] Loading extension file: portsecurity.pyc 2014-04-22 01:44:50,302 INFO [neutron.api.extensions] Loading extension file: firewall.py 2014-04-22 01:44:50,303 WARNING [neutron.api.extensions] Extension fwaas not supported by any of loaded plugins 2014-04-22 01:44:50,303 INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.pyc 2014-04-22 01:44:50,303 INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.pyc 2014-04-22 01:44:50,303 INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.py 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Loaded extension: dhcp_agent_scheduler 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Extension 'agent' provides no backward compatibility map for extended attributes 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Extension 'Allowed Address Pairs' provides no backward compatibility map for extended attributes 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Extension 'Neutron Extra Route' provides no backward compatibility map for extended attributes 2014-04-22 01:44:50,310 INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python27/neutron/tests/etc/api-paste.ini.test 2014-04-22 01:44:50,312 WARNING [neutron.quota] security_group is already registered. 2014-04-22 01:44:50,312 WARNING [neutron.quota] security_group_rule is already registered. 2014-04-22 01:44:50,318 INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python27/neutron/tests/etc/api-paste.ini.test 2014-04-22 01:44:50,321 WARNING [neutron.quota] router is already registered. 2014-04-22 01:44:50,321 WARNING [neutron.quota] floatingip is already registered. }}} Traceback (most recent call last): File "neutron/tests/unit/services/loadbalancer/test_agent_scheduler.py", line 159, in test_schedule_pool_with_down_agent self.assertIsNotNone(lbaas_agent) File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 345, in assertIsNotNone 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: None matches Is(None) ** 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/1311232 Title: LBaaSAgentSchedulerTestCaseXML.test_schedule_pool_with_down_agen broken Status in OpenStack Neutron (virtual network service): New Bug description: ft1.6695: neutron.tests.unit.services.loadbalancer.test_agent_scheduler.LBaaSAgentSchedulerTestCaseXML.test_schedule_pool_with_down_agent_StringException: Empty attachments: stderr stdout pythonlogging:'': {{{ 2014-04-22 01:44:50,176 INFO [neutron.manager] Loading Plugin: neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 2014-04-22 01:44:50,178 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='523535184'> is not JSON serializable 2014-04-22 01:44:50,180 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,180 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='368773584'> is not JSON serializable 2014-04-22 01:44:50,180 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,181 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='497014864'> is not JSON serializable 2014-04-22 01:44:50,181 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,181 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='523507728'> is not JSON serializable 2014-04-22 01:44:50,181 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,182 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='497033488'> is not JSON serializable 2014-04-22 01:44:50,182 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,182 ERROR [neutron.services.loadbalancer.drivers.haproxy.agent_manager] Failed reporting state! Traceback (most recent call last): File "neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 178, 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 171, in cast rpc.cast(context, self._get_topic(topic), msg) File "neutron/openstack/common/rpc/__init__.py", line 158, in cast return _get_impl().cast(CONF, context, topic, msg) File "neutron/openstack/common/rpc/impl_fake.py", line 166, in cast check_serialize(msg) File "neutron/openstack/common/rpc/impl_fake.py", line 131, 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='421260880'> is not JSON serializable 2014-04-22 01:44:50,182 ERROR [neutron.openstack.common.loopingcall] in fixed duration looping call Traceback (most recent call last): File "neutron/openstack/common/loopingcall.py", line 82, in _inner delay = interval - timeutils.delta_seconds(start, end) TypeError: unsupported operand type(s) for -: 'Mock' and 'float' 2014-04-22 01:44:50,261 INFO [neutron.plugins.openvswitch.ovs_neutron_plugin] Network VLAN ranges: {} 2014-04-22 01:44:50,263 INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin 2014-04-22 01:44:50,263 INFO [neutron.manager] Loading Plugin: neutron.services.loadbalancer.plugin.LoadBalancerPlugin 2014-04-22 01:44:50,285 INFO [neutron.api.extensions] Initializing extension manager. 2014-04-22 01:44:50,285 ERROR [neutron.api.extensions] Extension path 'unit/extensions' doesn't exist! 2014-04-22 01:44:50,285 INFO [neutron.api.extensions] Loading extension file: portbindings.py 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loaded extension: binding 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: l3.pyc 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.pyc 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: providernet.pyc 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: routerservicetype.py 2014-04-22 01:44:50,286 WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins 2014-04-22 01:44:50,286 INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.py 2014-04-22 01:44:50,287 INFO [neutron.api.extensions] Loaded extension: extra_dhcp_opt 2014-04-22 01:44:50,287 INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.py 2014-04-22 01:44:50,287 WARNING [neutron.api.extensions] Extension routed-service-insertion not supported by any of loaded plugins 2014-04-22 01:44:50,287 INFO [neutron.api.extensions] Loading extension file: metering.py 2014-04-22 01:44:50,288 WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: external_net.pyc 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: metering.pyc 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: loadbalancer.pyc 2014-04-22 01:44:50,288 INFO [neutron.api.extensions] Loading extension file: portsecurity.py 2014-04-22 01:44:50,289 WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins 2014-04-22 01:44:50,289 INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.py 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loaded extension: l3_agent_scheduler 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loading extension file: extra_dhcp_opt.pyc 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loading extension file: multiprovidernet.py 2014-04-22 01:44:50,290 WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins 2014-04-22 01:44:50,290 INFO [neutron.api.extensions] Loading extension file: agent.py 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loaded extension: agent 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: extraroute.pyc 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: external_net.py 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loaded extension: external-net 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: quotasv2.pyc 2014-04-22 01:44:50,291 INFO [neutron.api.extensions] Loading extension file: firewall.pyc 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loading extension file: lbaas_agentscheduler.py 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loaded extension: lbaas_agent_scheduler 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loading extension file: multiprovidernet.pyc 2014-04-22 01:44:50,292 INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.py 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loaded extension: ext-gw-mode 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loading extension file: providernet.py 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loaded extension: provider 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loading extension file: servicetype.py 2014-04-22 01:44:50,293 INFO [neutron.api.extensions] Loaded extension: service-type 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: quotasv2.py 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loaded extension: quotas 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: securitygroup.pyc 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.pyc 2014-04-22 01:44:50,294 INFO [neutron.api.extensions] Loading extension file: securitygroup.py 2014-04-22 01:44:50,296 WARNING [neutron.api.extensions] Extension security-group not supported by any of loaded plugins 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: vpnaas.pyc 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: __init__.py 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: flavor.pyc 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.pyc 2014-04-22 01:44:50,296 INFO [neutron.api.extensions] Loading extension file: portbindings.pyc 2014-04-22 01:44:50,297 INFO [neutron.api.extensions] Loading extension file: __init__.pyc 2014-04-22 01:44:50,297 INFO [neutron.api.extensions] Loading extension file: loadbalancer.py 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loaded extension: lbaas 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: agent.pyc 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: flavor.py 2014-04-22 01:44:50,298 WARNING [neutron.api.extensions] Extension flavor not supported by any of loaded plugins 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: servicetype.pyc 2014-04-22 01:44:50,298 INFO [neutron.api.extensions] Loading extension file: extraroute.py 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loaded extension: extraroute 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loading extension file: l3agentscheduler.pyc 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loading extension file: routerservicetype.pyc 2014-04-22 01:44:50,299 INFO [neutron.api.extensions] Loading extension file: l3.py 2014-04-22 01:44:50,300 INFO [neutron.api.extensions] Loaded extension: router 2014-04-22 01:44:50,300 INFO [neutron.api.extensions] Loading extension file: vpnaas.py 2014-04-22 01:44:50,301 WARNING [neutron.api.extensions] Extension vpnaas not supported by any of loaded plugins 2014-04-22 01:44:50,301 INFO [neutron.api.extensions] Loading extension file: allowedaddresspairs.py 2014-04-22 01:44:50,301 INFO [neutron.api.extensions] Loaded extension: allowed-address-pairs 2014-04-22 01:44:50,302 INFO [neutron.api.extensions] Loading extension file: portsecurity.pyc 2014-04-22 01:44:50,302 INFO [neutron.api.extensions] Loading extension file: firewall.py 2014-04-22 01:44:50,303 WARNING [neutron.api.extensions] Extension fwaas not supported by any of loaded plugins 2014-04-22 01:44:50,303 INFO [neutron.api.extensions] Loading extension file: routedserviceinsertion.pyc 2014-04-22 01:44:50,303 INFO [neutron.api.extensions] Loading extension file: l3_ext_gw_mode.pyc 2014-04-22 01:44:50,303 INFO [neutron.api.extensions] Loading extension file: dhcpagentscheduler.py 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Loaded extension: dhcp_agent_scheduler 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Extension 'agent' provides no backward compatibility map for extended attributes 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Extension 'Allowed Address Pairs' provides no backward compatibility map for extended attributes 2014-04-22 01:44:50,304 INFO [neutron.api.extensions] Extension 'Neutron Extra Route' provides no backward compatibility map for extended attributes 2014-04-22 01:44:50,310 INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python27/neutron/tests/etc/api-paste.ini.test 2014-04-22 01:44:50,312 WARNING [neutron.quota] security_group is already registered. 2014-04-22 01:44:50,312 WARNING [neutron.quota] security_group_rule is already registered. 2014-04-22 01:44:50,318 INFO [neutron.common.config] Config paste file: /home/jenkins/workspace/gate-neutron-python27/neutron/tests/etc/api-paste.ini.test 2014-04-22 01:44:50,321 WARNING [neutron.quota] router is already registered. 2014-04-22 01:44:50,321 WARNING [neutron.quota] floatingip is already registered. }}} Traceback (most recent call last): File "neutron/tests/unit/services/loadbalancer/test_agent_scheduler.py", line 159, in test_schedule_pool_with_down_agent self.assertIsNotNone(lbaas_agent) File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 345, in assertIsNotNone 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: None matches Is(None) To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1311232/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp