{3} tempest.api.network.test_extensions.ExtensionsTestJSON.test_list_show_extensions [0.316242s] ... FAILED
tempest.api.network.test_extensions.ExtensionsTestJSON.test_list_show_extensions[id-ef28c7e6-e646-4979-9d67-deb207bc5564,smoke]
-------------------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/centos/tempest-dir/tempest/api/network/test_extensions.py", line 60, in test_list_show_extensions
self.assertIn('namespace', ext_details.keys())
File "/home/centos/tempest-dir/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 356, in assertIn
self.assertThat(haystack, Contains(needle), message)
File "/home/centos/tempest-dir/.venv/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'namespace' not in [u'alias', u'updated', u'name', u'links', u'description']
Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
2015-09-15 17:08:46,142 17956 INFO [tempest_lib.common.rest_client] Request (ExtensionsTestJSON:test_list_show_extensions): 200 POST http://192.168.1.100:5000/v2.0/tokens
2015-09-15 17:08:46,143 17956 DEBUG [tempest_lib.common.rest_client] Request - Headers: {}
Body: None
Response - Headers: {'status': '200', 'content-length': '4760', 'vary': 'X-Auth-Token,Accept-Encoding', 'server': 'Apache/2.4.6 (CentOS)', 'connection': 'close', '-content-encoding': 'gzip', 'date': 'Tue, 15 Sep 2015 17:08:45 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-d2653d39-e8e1-4ce1-8b97-e39128c0663d'}
Body: None
2015-09-15 17:08:46,259 17956 INFO [tempest_lib.common.rest_client] Request (ExtensionsTestJSON:test_list_show_extensions): 200 GET http://192.168.1.100:9696/v2.0/extensions 0.116s
2015-09-15 17:08:46,259 17956 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {'status': '200', 'content-length': '4823', 'content-location': 'http://192.168.1.100:9696/v2.0/extensions', 'connection': 'close', 'date': 'Tue, 15 Sep 2015 17:08:45 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-f402465f-ddc2-4e6b-92eb-d3d3bae10c9f'}
Body: {"extensions": [{"alias": "dns-integration", "updated": "2015-08-15T18:00:00-00:00", "name": "DNS Integration", "links": [], "description": "Provides integration with internal DNS."}, {"alias": "ext-gw-mode", "updated": "2013-03-28T10:00:00-00:00", "name": "Neutron L3 Configurable external gateway mode", "links": [], "description": "Extension of the router abstraction for specifying whether SNAT should occur on the external gateway"}, {"alias": "binding", "updated": "2014-02-03T10:00:00-00:00", "name": "Port Binding", "links": [], "description": "Expose port bindings of a virtual port to external application"}, {"alias": "agent", "updated": "2013-02-03T10:00:00-00:00", "name": "agent", "links": [], "description": "The agent management extension."}, {"alias": "subnet_allocation", "updated": "2015-03-30T10:00:00-00:00", "name": "Subnet Allocation", "links": [], "description": "Enables allocation of subnets from a subnet pool"}, {"alias": "l3_agent_scheduler", "updated": "2013-02-07T10:00:00-00:00", "name": "L3 Agent Scheduler", "links": [], "description": "Schedule routers among l3 agents"}, {"alias": "external-net", "updated": "2013-01-14T10:00:00-00:00", "name": "Neutron external network", "links": [], "description": "Adds external network attribute to network resource."}, {"alias": "flavors", "updated": "2014-07-06T10:00:00-00:00", "name": "Neutron Service Flavors", "links": [], "description": "Service specification for advanced services"}, {"alias": "fwaasrouterinsertion", "updated": "2015-01-27T10:00:00-00:00", "name": "Firewall Router insertion", "links": [], "description": "Firewall Router insertion on specified set of routers"}, {"alias": "net-mtu", "updated": "2015-03-25T10:00:00-00:00", "name": "Network MTU", "links": [], "description": "Provides MTU attribute for a network resource."}, {"alias": "quotas", "updated": "2012-07-29T10:00:00-00:00", "name": "Quota management support", "links": [], "description": "Expose functions for quotas management per tenant"}, {"alias": "l3-ha", "updated": "2014-04-26T00:00:00-00:00", "name": "HA Router extension", "links": [], "description": "Add HA capability to routers."}, {"alias": "provider", "updated": "2012-09-07T10:00:00-00:00", "name": "Provider Network", "links": [], "description": "Expose mapping of virtual networks to physical networks"}, {"alias": "multi-provider", "updated": "2013-06-27T10:00:00-00:00", "name": "Multi Provider Network", "links": [], "description": "Expose mapping of virtual networks to multiple physical networks"}, {"alias": "lbaas", "updated": "2012-10-07T10:00:00-00:00", "name": "LoadBalancing service", "links": [], "description": "Extension for LoadBalancing service"}, {"alias": "extraroute", "updated": "2013-02-01T10:00:00-00:00", "name": "Neutron Extra Route", "links": [], "description": "Extra routes configuration for L3 router"}, {"alias": "lbaas_agent_scheduler", "updated": "2013-02-07T10:00:00-00:00", "name": "Loadbalancer Agent Scheduler", "links": [], "description": "Schedule pools among lbaas agents"}, {"alias": "fwaas", "updated": "2013-02-25T10:00:00-00:00", "name": "Firewall service", "links": [], "description": "Extension for Firewall service"}, {"alias": "extra_dhcp_opt", "updated": "2013-03-17T12:00:00-00:00", "name": "Neutron Extra DHCP opts", "links": [], "description": "Extra options configuration for DHCP. For example PXE boot options to DHCP clients can be specified (e.g. tftp-server, server-ip-address, bootfile-name)"}, {"alias": "service-type", "updated": "2013-01-20T00:00:00-00:00", "name": "Neutron Service Type Management", "links": [], "description": "API for retrieving service providers for Neutron advanced services"}, {"alias": "security-group", "updated": "2012-10-05T10:00:00-00:00", "name": "security-group", "links": [], "description": "The security groups extension."}, {"alias": "dhcp_agent_scheduler", "updated": "2013-02-07T10:00:00-00:00", "name": "DHCP Agent Scheduler", "links": [], "description": "Schedule networks among dhcp agents"}, {"alias": "rbac-policies", "updated": "2015-06-17T12:15:12-30:00", "name": "R
2015-09-15 17:08:46,362 17956 INFO [tempest_lib.common.rest_client] Request (ExtensionsTestJSON:test_list_show_extensions): 200 GET http://192.168.1.100:9696/v2.0/extensions/dns-integration 0.102s
2015-09-15 17:08:46,362 17956 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {'status': '200', 'content-length': '181', 'content-location': 'http://192.168.1.100:9696/v2.0/extensions/dns-integration', 'connection': 'close', 'date': 'Tue, 15 Sep 2015 17:08:45 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-6e87f831-92ee-4ce6-8673-bfe71559c429'}
Body: {"extension": {"alias": "dns-integration", "updated": "2015-08-15T18:00:00-00:00", "name": "DNS Integration", "links": [], "description": "Provides integration with internal DNS."}}