Failure of tempest.api.network.admin.test_agent_management.AgentManagementTestJSON.test_list_agent[gate,smoke]

Bug #1267532 reported by Gavin B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
New
Undecided
Unassigned

Bug Description

A gating run for https://review.openstack.org/#/c/65481/ failed. This is the 3rd time the tests have run for this particular minor change to python-novaclient, but the first time that this particular failure was seen.

Failure log at http://logs.openstack.org/81/65481/1/check/check-tempest-dsvm-neutron/a70f4f3/console.html

excerpt :

2014-01-09 14:32:06.314 | ======================================================================
2014-01-09 14:32:06.314 | FAIL: tempest.api.network.admin.test_agent_management.AgentManagementTestJSON.test_list_agent[gate,smoke]
2014-01-09 14:32:06.314 | tempest.api.network.admin.test_agent_management.AgentManagementTestJSON.test_list_agent[gate,smoke]
2014-01-09 14:32:06.315 | ----------------------------------------------------------------------
2014-01-09 14:32:06.315 | _StringException: Empty attachments:
2014-01-09 14:32:06.315 | stderr
2014-01-09 14:32:06.316 | stdout
2014-01-09 14:32:06.316 |
2014-01-09 14:32:06.316 | pythonlogging:'': {{{
2014-01-09 14:32:06.317 | 2014-01-09 14:15:53,871 Request: GET http://127.0.0.1:9696//v2.0/agents
2014-01-09 14:32:06.317 | 2014-01-09 14:15:53,871 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-01-09 14:32:06.317 | 2014-01-09 14:15:53,879 Response Status: 200
2014-01-09 14:32:06.317 | 2014-01-09 14:15:53,879 Response Headers: {'content-length': '2566', 'content-location': u'http://127.0.0.1:9696//v2.0/agents', 'date': 'Thu, 09 Jan 2014 14:15:53 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
2014-01-09 14:32:06.318 | 2014-01-09 14:15:53,880 Response Body: {"agents": [{"binary": "neutron-dhcp-agent", "description": null, "admin_state_up": true, "heartbeat_timestamp": "2014-01-09 14:15:53", "alive": true, "id": "0d4cf4e5-ad51-4867-947c-e0c4a8d67225", "topic": "dhcp_agent", "host": "devstack-precise-1388456058", "agent_type": "DHCP agent", "started_at": "2014-01-09 14:06:50", "created_at": "2014-01-09 14:06:50", "configurations": {"subnets": 1, "use_namespaces": true, "dhcp_lease_duration": 86400, "dhcp_driver": "neutron.agent.linux.dhcp.Dnsmasq", "networks": 1, "ports": 2}}, {"binary": "neutron-l3-agent", "description": null, "admin_state_up": true, "heartbeat_timestamp": "2014-01-09 14:15:50", "alive": true, "id": "4d4a3068-fb49-4e91-87fa-79df66c0ff34", "topic": "l3_agent", "host": "devstack-precise-1388456058", "agent_type": "L3 agent", "started_at": "2014-01-09 14:06:50", "created_at": "2014-01-09 14:06:50", "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-openvswitch-agent", "description": null, "admin_state_up": true, "heartbeat_timestamp": "2014-01-09 14:15:50", "alive": true, "id": "ca9e7167-aca5-411a-8f37-8cc9d149fe86", "topic": "N/A", "host": "devstack-precise-1388456058", "agent_type": "Open vSwitch agent", "started_at": "2014-01-09 14:06:50", "created_at": "2014-01-09 14:06:50", "configurations": {"tunnel_types": [], "tunneling_ip": "10.6.32.53", "bridge_mappings": {}, "l2_population": false, "devices": 3}}, {"binary": "neutron-metadata-agent", "description": null, "admin_state_up": true, "heartbeat_timestamp": "2014-01-09 14:15:50", "alive": true, "id": "e85469ce-f3e3-45e7-9245-a3805850e54b", "topic": "N/A", "host": "devstack-precise-1388456058", "agent_type": "Metadata agent", "started_at": "2014-01-09 14:06:50", "created_at": "2014-01-09 14:06:50", "configurations": {"nova_metadata_port": 8775, "nova_metadata_i
2014-01-09 14:32:06.318 | 2014-01-09 14:15:53,880 Large body (2566) md5 summary: a9042104e68e726e43607a3983593b1d
2014-01-09 14:32:06.319 | }}}
2014-01-09 14:32:06.319 |
2014-01-09 14:32:06.319 | Traceback (most recent call last):
2014-01-09 14:32:06.320 | File "tempest/api/network/admin/test_agent_management.py", line 37, in test_list_agent
2014-01-09 14:32:06.320 | self.assertIn(self.agent, agents)
2014-01-09 14:32:06.320 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 330, in assertIn
2014-01-09 14:32:06.321 | self.assertThat(haystack, Contains(needle))
2014-01-09 14:32:06.321 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in assertThat
2014-01-09 14:32:06.321 | raise MismatchError(matchee, matcher, mismatch, verbose)
2014-01-09 14:32:06.322 | MismatchError: {u'binary': u'neutron-dhcp-agent', u'description': None, u'admin_state_up': True, u'heartbeat_timestamp': u'2014-01-09 14:15:49', u'alive': True, u'topic': u'dhcp_agent', u'host': u'devstack-precise-1388456058', u'agent_type': u'DHCP agent', u'created_at': u'2014-01-09 14:06:50', u'started_at': u'2014-01-09 14:06:50', u'id': u'0d4cf4e5-ad51-4867-947c-e0c4a8d67225', u'configurations': {u'subnets': 1, u'use_namespaces': True, u'dhcp_lease_duration': 86400, u'dhcp_driver': u'neutron.agent.linux.dhcp.Dnsmasq', u'networks': 1, u'ports': 2}} not in [{u'binary': u'neutron-dhcp-agent', u'description': None, u'admin_state_up': True, u'heartbeat_timestamp': u'2014-01-09 14:15:53', u'alive': True, u'topic': u'dhcp_agent', u'host': u'devstack-precise-1388456058', u'agent_type': u'DHCP agent', u'created_at': u'2014-01-09 14:06:50', u'started_at': u'2014-01-09 14:06:50', u'id': u'0d4cf4e5-ad51-4867-947c-e0c4a8d67225', u'configurations': {u'subnets': 1, u'use_namespaces': True, u'dhcp_lease_duration': 86400, u'dhcp_driver': u'neutron.agent.linux.dhcp.Dnsmasq', u'networks': 1, u'ports': 2}}, {u'binary': u'neutron-l3-agent', u'description': None, u'admin_state_up': True, u'heartbeat_timestamp': u'2014-01-09 14:15:50', u'alive': True, u'topic': u'l3_agent', u'host': u'devstack-precise-1388456058', u'agent_type': u'L3 agent', u'created_at': u'2014-01-09 14:06:50', u'started_at': u'2014-01-09 14:06:50', u'id': u'4d4a3068-fb49-4e91-87fa-79df66c0ff34', u'configurations': {u'router_id': u'', u'gateway_external_network_id': u'', u'handle_internal_only_routers': True, u'use_namespaces': True, u'routers': 1, u'interfaces': 1, u'floating_ips': 0, u'interface_driver': u'neutron.agent.linux.interface.OVSInterfaceDriver', u'ex_gw_ports': 1}}, {u'binary': u'neutron-openvswitch-agent', u'description': None, u'admin_state_up': True, u'heartbeat_timestamp': u'2014-01-09 14:15:50', u'alive': True, u'topic': u'N/A', u'host': u'devstack-precise-1388456058', u'agent_type': u'Open vSwitch agent', u'created_at': u'2014-01-09 14:06:50', u'started_at': u'2014-01-09 14:06:50', u'id': u'ca9e7167-aca5-411a-8f37-8cc9d149fe86', u'configurations': {u'tunnel_types': [], u'tunneling_ip': u'10.6.32.53', u'bridge_mappings': {}, u'l2_population': False, u'devices': 3}}, {u'binary': u'neutron-metadata-agent', u'description': None, u'admin_state_up': True, u'heartbeat_timestamp': u'2014-01-09 14:15:50', u'alive': True, u'topic': u'N/A', u'host': u'devstack-precise-1388456058', u'agent_type': u'Metadata agent', u'created_at': u'2014-01-09 14:06:50', u'started_at': u'2014-01-09 14:06:50', u'id': u'e85469ce-f3e3-45e7-9245-a3805850e54b', u'configurations': {u'nova_metadata_ip': u'127.0.0.1', u'nova_metadata_port': 8775, u'metadata_proxy_socket': u'/opt/stack/data/neutron/metadata_proxy'}}, {u'binary': u'neutron-lbaas-agent', u'description': None, u'admin_state_up': True, u'heartbeat_timestamp': u'2014-01-09 14:15:50', u'alive': True, u'topic': u'n-lbaas_agent', u'host': u'devstack-precise-1388456058', u'agent_type': u'Loadbalancer agent', u'created_at': u'2014-01-09 14:06:50', u'started_at': u'2014-01-09 14:06:50', u'id': u'fba69ce1-749a-463b-a3cd-f087b38b22b6', u'configurations': {u'device_drivers': [u'haproxy_ns'], u'instances': 0}}]
2014-01-09 14:32:06.322 |
2014-01-09 14:32:06.322 |
2014-01-09 14:32:06.323 | ======================================================================
2014-01-09 14:32:06.323 | FAIL: process-returncode
2014-01-09 14:32:06.323 | process-returncode
2014-01-09 14:32:06.324 | ----------------------------------------------------------------------
2014-01-09 14:32:06.324 | _StringException: Binary content:
2014-01-09 14:32:06.324 | traceback (test/plain; charset="utf8")
2014-01-09 14:32:06.325 |
2014-01-09 14:32:06.325 |
2014-01-09 14:32:06.325 | ----------------------------------------------------------------------
2014-01-09 14:32:06.326 | Ran 377 tests in 1447.578s
2014-01-09 14:32:06.326 |
2014-01-09 14:32:06.326 | FAILED (failures=2, skipped=28)
2014-01-09 14:32:06.687 | Test id Runtime (s)
2014-01-09 14:32:06.688 | ------------------------------------------------------------------------------------------------------------------------------------ -----------
2014-01-09 14:32:06.688 | tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops[compute,gate,network,smoke] 181.351
2014-01-09 14:32:06.688 | tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario[compute,image,network,volume] 163.317
2014-01-09 14:32:06.689 | tempest.scenario.test_snapshot_pattern.TestSnapshotPattern.test_snapshot_pattern[compute,image,network] 107.814
2014-01-09 14:32:06.689 | tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern[compute,image,volume] 101.406
2014-01-09 14:32:06.689 | tempest.scenario.test_cross_tenant_connectivity.TestNetworkCrossTenant.test_cross_tenant_traffic[compute,gate,network,smoke] 61.733
2014-01-09 14:32:06.690 | tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario[dashboard] 17.969
2014-01-09 14:32:06.690 | tempest.api.compute.v3.servers.test_attach_interfaces.AttachInterfacesV3TestXML.test_create_list_show_delete_interfaces[gate,smoke] 16.386
2014-01-09 14:32:06.690 | tempest.api.compute.v3.servers.test_attach_interfaces.AttachInterfacesV3TestJSON.test_create_list_show_delete_interfaces[gate,smoke] 16.176
2014-01-09 14:32:06.691 | tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestXML.test_create_list_show_delete_interfaces[gate,smoke] 16.109
2014-01-09 14:32:06.691 | tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_create_list_show_delete_interfaces[gate,smoke] 15.888
2014-01-09 14:32:06.726 | ERROR: InvocationError: '/bin/bash tools/pretty_tox_serial.sh (?!.*\\[.*\\bslow\\b.*\\])((smoke)|(^tempest\\.scenario)) '
2014-01-09 14:32:06.726 | ___________________________________ summary ____________________________________
2014-01-09 14:32:06.726 | ERROR: smoke-serial: commands failed
2014-01-09 14:33:02.856 | Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
2014-01-09 14:33:03.058 | Build step 'Execute shell' marked build as failure
2014-01-09 14:33:04.908 | [SCP] Connecting to static.openstack.org

Revision history for this message
Henry Gessau (gessau) wrote :

Probably a duplicate of Bug #1262126

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.