← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1262126] Re: tempest.api.network.admin.test_agent_management.AgentManagementTestXML.test_list_agent[gate, smoke] failed on pg

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  tempest.api.network.admin.test_agent_management.AgentManagementTestXML.test_list_agent[gate,smoke]
  failed on pg

Status in neutron:
  Expired

Bug description:
  http://logs.openstack.org/03/60203/2/check/check-tempest-dsvm-neutron-
  pg/f4433f2/

  FAIL: tempest.api.network.admin.test_agent_management.AgentManagementTestXML.test_list_agent[gate,smoke]
  2013-12-18 06:25:32.632 | tempest.api.network.admin.test_agent_management.AgentManagementTestXML.test_list_agent[gate,smoke]
  2013-12-18 06:25:32.633 | ----------------------------------------------------------------------
  2013-12-18 06:25:32.633 | _StringException: Empty attachments:
  2013-12-18 06:25:32.633 |   stderr
  2013-12-18 06:25:32.634 |   stdout
  2013-12-18 06:25:32.634 | 
  2013-12-18 06:25:32.634 | pythonlogging:'': {{{
  2013-12-18 06:25:32.635 | 2013-12-18 06:12:50,544 Request: GET http://127.0.0.1:9696//v2.0/agents
  2013-12-18 06:25:32.635 | 2013-12-18 06:12:50,544 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
  2013-12-18 06:25:32.635 | 2013-12-18 06:12:50,566 Response Status: 200
  2013-12-18 06:25:32.635 | 2013-12-18 06:12:50,567 Response Headers: {'content-length': '4146', 'content-location': u'http://127.0.0.1:9696//v2.0/agents', 'date': 'Wed, 18 Dec 2013 06:12:50 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
  2013-12-18 06:25:32.636 | 2013-12-18 06:12:50,567 Response Body: <?xml version='1.0' encoding='UTF-8'?>
  2013-12-18 06:25:32.636 | <agents xmlns="http://openstack.org/quantum/api/v2.0"; xmlns:quantum="http://openstack.org/quantum/api/v2.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><agent><binary>neutron-lbaas-agent</binary><description xsi:nil="true" /><admin_state_up quantum:type="bool">True</admin_state_up><heartbeat_timestamp>2013-12-18 06:12:46.586472</heartbeat_timestamp><alive quantum:type="bool">True</alive><id>1bd43287-5180-4c3f-86f0-99d87829f228</id><topic>n-lbaas_agent</topic><host>devstack-precise-hpcloud-az2-883606</host><agent_type>Loadbalancer agent</agent_type><started_at>2013-12-18 06:04:18.505633</started_at><created_at>2013-12-18 06:04:18.505633</created_at><configurations><device_drivers><device_driver>haproxy_ns</device_driver></device_drivers><instances quantum:type="int">0</instances></configurations></agent><agent><binary>neutron-l3-agent</binary><description xsi:nil="true" /><admin_state_up quantum:type="bool">True</admin_state_up><heartbeat_timestamp>2013-12-18 06:12:46.888677</heartbeat_timestamp><alive quantum:type="bool">True</alive><id>7b2096e6-090e-4c51-9dad-c6d81347dd89</id><topic>l3_agent</topic><host>devstack-precise-hpcloud-az2-883606</host><agent_type>L3 agent</agent_type><started_at>2013-12-18 06:04:18.949042</started_at><created_at>2013-12-18 06:04:18.949042</created_at><configurations><router_id /><gateway_external_network_id /><handle_internal_only_routers quantum:type="bool">True</handle_internal_only_routers><use_namespaces quantum:type="bool">True</use_namespaces><routers quantum:type="int">1</routers><interfaces quantum:type="int">1</interfaces><floating_ips quantum:type="int">0</floating_ips><interface_driver>neutron.agent.linux.interface.OVSInterfaceDriver</interface_driver><ex_gw_ports quantum:type="int">1</ex_gw_ports></configurations></agent><agent><binary>neutron-dhcp-agent</binary><description /><admin_state_up quantum:type="bool">True</admin_state_up><heartbeat_timestamp>2013-12-18 06:12:49.989886</heartbeat_timestamp><alive quantum:type="boo
  2013-12-18 06:25:32.637 | 2013-12-18 06:12:50,567 Large body (4146) md5 summary: 0390ce85622673a393efc348189e741c
  2013-12-18 06:25:32.637 | }}}
  2013-12-18 06:25:32.638 | 
  2013-12-18 06:25:32.638 | Traceback (most recent call last):
  2013-12-18 06:25:32.639 |   File "tempest/api/network/admin/test_agent_management.py", line 37, in test_list_agent
  2013-12-18 06:25:32.639 |     self.assertIn(self.agent, agents)
  2013-12-18 06:25:32.639 |   File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 330, in assertIn
  2013-12-18 06:25:32.640 |     self.assertThat(haystack, Contains(needle))
  2013-12-18 06:25:32.640 |   File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in assertThat
  2013-12-18 06:25:32.640 |     raise MismatchError(matchee, matcher, mismatch, verbose)
  2013-12-18 06:25:32.641 | MismatchError: {'binary': 'neutron-openvswitch-agent', 'description': {'{http://www.w3.org/2001/XMLSchema-instance}nil': 'true'}, 'admin_state_up': 'True', 'heartbeat_timestamp': '2013-12-18 06:12:46.511159', 'alive': 'True', 'topic': 'N/A', 'host': 'devstack-precise-hpcloud-az2-883606', 'agent_type': 'Open vSwitch agent', 'created_at': '2013-12-18 06:04:18.458963', 'started_at': '2013-12-18 06:04:18.458963', 'id': 'a8ad7e9b-ef64-434a-b7d7-b84118bb796f', 'configurations': {'tunnel_types': {'{http://openstack.org/quantum/api/v2.0}type': 'list'}, 'tunneling_ip': '10.7.58.187', 'bridge_mappings': {'{http://openstack.org/quantum/api/v2.0}type': 'dict'}, 'l2_population': 'False', 'devices': '3'}} not in [{'binary': 'neutron-lbaas-agent', 'description': {'{http://www.w3.org/2001/XMLSchema-instance}nil': 'true'}, 'admin_state_up': 'True', 'heartbeat_timestamp': '2013-12-18 06:12:46.586472', 'alive': 'True', 'topic': 'n-lbaas_agent', 'host': 'devstack-precise-hpcloud-az2-883606', 'agent_type': 'Loadbalancer agent', 'created_at': '2013-12-18 06:04:18.505633', 'started_at': '2013-12-18 06:04:18.505633', 'id': '1bd43287-5180-4c3f-86f0-99d87829f228', 'configurations': {'device_drivers': {'device_driver': 'haproxy_ns'}, 'instances': '0'}}, {'binary': 'neutron-l3-agent', 'description': {'{http://www.w3.org/2001/XMLSchema-instance}nil': 'true'}, 'admin_state_up': 'True', 'heartbeat_timestamp': '2013-12-18 06:12:46.888677', 'alive': 'True', 'topic': 'l3_agent', 'host': 'devstack-precise-hpcloud-az2-883606', 'agent_type': 'L3 agent', 'created_at': '2013-12-18 06:04:18.949042', 'started_at': '2013-12-18 06:04:18.949042', 'id': '7b2096e6-090e-4c51-9dad-c6d81347dd89', 'configurations': {'router_id': {}, 'gateway_external_network_id': {}, 'handle_internal_only_routers': 'True', 'use_namespaces': 'True', 'routers': '1', 'interfaces': '1', 'floating_ips': '0', 'interface_driver': 'neutron.agent.linux.interface.OVSInterfaceDriver', 'ex_gw_ports': '1'}}, {'binary': 'neutron-dhcp-agent', 'description': {}, 'admin_state_up': 'True', 'heartbeat_timestamp': '2013-12-18 06:12:49.989886', 'alive': 'True', 'topic': 'dhcp_agent', 'host': 'devstack-precise-hpcloud-az2-883606', 'agent_type': 'DHCP agent', 'created_at': '2013-12-18 06:04:18.049762', 'started_at': '2013-12-18 06:04:18.049762', 'id': 'db5c6434-6141-4ff5-9328-a96bcbe770bc', 'configurations': {'subnets': '1', 'use_namespaces': 'True', 'dhcp_lease_duration': '86400', 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': '1', 'ports': '2'}}, {'binary': 'neutron-metadata-agent', 'description': {'{http://www.w3.org/2001/XMLSchema-instance}nil': 'true'}, 'admin_state_up': 'True', 'heartbeat_timestamp': '2013-12-18 06:12:50.379678', 'alive': 'True', 'topic': 'N/A', 'host': 'devstack-precise-hpcloud-az2-883606', 'agent_type': 'Metadata agent', 'created_at': '2013-12-18 06:04:18.359047', 'started_at': '2013-12-18 06:04:18.359047', 'id': '1ed17116-516f-4972-8894-15445693743d', 'configurations': {'nova_metadata_ip': '127.0.0.1', 'nova_metadata_port': '8775', 'metadata_proxy_socket': '/opt/stack/data/neutron/metadata_proxy'}}, {'binary': 'neutron-openvswitch-agent', 'description': {'{http://www.w3.org/2001/XMLSchema-instance}nil': 'true'}, 'admin_state_up': 'True', 'heartbeat_timestamp': '2013-12-18 06:12:50.511946', 'alive': 'True', 'topic': 'N/A', 'host': 'devstack-precise-hpcloud-az2-883606', 'agent_type': 'Open vSwitch agent', 'created_at': '2013-12-18 06:04:18.458963', 'started_at': '2013-12-18 06:04:18.458963', 'id': 'a8ad7e9b-ef64-434a-b7d7-b84118bb796f', 'configurations': {'tunnel_types': {'{http://openstack.org/quantum/api/v2.0}type': 'list'}, 'tunneling_ip': '10.7.58.187', 'bridge_mappings': {'{http://openstack.org/quantum/api/v2.0}type': 'dict'}, 'l2_population': 'False', 'devices': '3'}}]
  2013-12-18 06:25:32.641 | 
  2013-12-18 06:25:32.642 | 
  2013-12-18 06:25:32.642 | ======================================================================

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


References