the following tests are failing on stable/newton.
test_delete_allocated_net_topology_as_tenant
test_get_allocated_net_topology_as_tenant
they are failing on gate-tempest-dsvm-networking-midonet-ml2-ubuntu-xenial
but succeeding on gate-tempest-dsvm-networking-midonet-v2-ubuntu-xenial
eg. http://logs.openstack.org/82/476782/1/check/gate-tempest-dsvm-networking-midonet-ml2-ubuntu-xenial/f4723a3/logs/testr_results.html.gz
ft1.1: neutron.tests.tempest.api.test_auto_allocated_topology.TestAutoAllocatedTopology.test_delete_allocated_net_topology_as_tenant[id-aabc0b02-cee4-11e5-9f3c-091127605a2b]_StringException: pythonlogging:'': {{{
2017-06-23 08:34:44,213 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_delete_allocated_net_topology_as_tenant): 200 GET http://198.72.124.192:9696/v2.0/networks?admin_state_up=True 0.272s
2017-06-23 08:34:44,214 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-1462b773-c7db-41d6-bb03-2eb9d3cd771f', u'connection': 'close', 'status': '200', u'content-length': '621', 'content-location': 'http://198.72.124.192:9696/v2.0/networks?admin_state_up=True', u'date': 'Fri, 23 Jun 2017 08:34:44 GMT'}
Body: {"networks": [{"status": "ACTIVE", "router:external": true, "availability_zone_hints": [], "availability_zones": [], "description": "", "subnets": ["5501c7e5-271b-4b1e-a04c-297ab8f6369f"], "shared": false, "tenant_id": "09c4c8cc250942d69aa049141d9e1a75", "created_at": "2017-06-23T08:26:47Z", "tags": [], "ipv6_address_scope": null, "updated_at": "2017-06-23T08:26:52Z", "is_default": true, "mtu": 0, "admin_state_up": true, "revision_number": 6, "ipv4_address_scope": null, "port_security_enabled": true, "project_id": "09c4c8cc250942d69aa049141d9e1a75", "id": "76df4d8f-f319-4766-8952-7593caa1f3d6", "name": "public"}]}
2017-06-23 08:34:44,347 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_delete_allocated_net_topology_as_tenant): 200 GET http://198.72.124.192:9696/v2.0/subnets?admin_state_up=True 0.132s
2017-06-23 08:34:44,347 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-055197f0-ab3f-4259-b4a6-ce1919fb2e60', u'connection': 'close', 'status': '200', u'content-length': '15', 'content-location': 'http://198.72.124.192:9696/v2.0/subnets?admin_state_up=True', u'date': 'Fri, 23 Jun 2017 08:34:44 GMT'}
Body: {"subnets": []}
2017-06-23 08:34:44,599 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_delete_allocated_net_topology_as_tenant): 200 GET http://198.72.124.192:9696/v2.0/routers?admin_state_up=True 0.251s
2017-06-23 08:34:44,600 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-5679d7cf-8d1b-4713-94dc-f34a6bdd1167', u'connection': 'close', 'status': '200', u'content-length': '15', 'content-location': 'http://198.72.124.192:9696/v2.0/routers?admin_state_up=True', u'date': 'Fri, 23 Jun 2017 08:34:44 GMT'}
Body: {"routers": []}
2017-06-23 08:34:50,324 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_delete_allocated_net_topology_as_tenant): 200 GET http://198.72.124.192:9696/v2.0/auto-allocated-topology/None 5.724s
2017-06-23 08:34:50,324 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-6896f667-d4cd-4272-9876-350a7ba650f2', u'connection': 'close', 'status': '200', u'content-length': '174', 'content-location': 'http://198.72.124.192:9696/v2.0/auto-allocated-topology/None', u'date': 'Fri, 23 Jun 2017 08:34:50 GMT'}
Body: {"auto_allocated_topology": {"tenant_id": "6d243efa3c484669947fcc50aefb9063", "project_id": "6d243efa3c484669947fcc50aefb9063", "id": "9795e3de-2371-4d7a-8ef3-62bfe934eaa8"}}
2017-06-23 08:34:52,465 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_delete_allocated_net_topology_as_tenant): 500 DELETE http://198.72.124.192:9696/v2.0/auto-allocated-topology/None 2.140s
2017-06-23 08:34:52,465 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-2ceaa4bd-70e8-4249-a0a7-fe8fcc1aef2f', u'connection': 'close', 'status': '500', u'content-length': '150', 'content-location': 'http://198.72.124.192:9696/v2.0/auto-allocated-topology/None', u'date': 'Fri, 23 Jun 2017 08:34:52 GMT'}
Body: {"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalServerError", "detail": ""}}
}}}
Traceback (most recent call last):
File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_auto_allocated_topology.py", line 115, in test_delete_allocated_net_topology_as_tenant
self.client.delete_auto_allocated_topology()
File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 806, in delete_auto_allocated_topology
resp, body = self.delete(uri)
File "tempest/lib/common/rest_client.py", line 301, in delete
return self.request('DELETE', url, extra_headers, headers, body)
File "tempest/lib/common/rest_client.py", line 659, in request
self._error_checker(resp, resp_body)
File "tempest/lib/common/rest_client.py", line 836, in _error_checker
message=message)
tempest.lib.exceptions.ServerFault: Got server fault
Details: Request Failed: internal server error while processing your request.
ft1.2: neutron.tests.tempest.api.test_auto_allocated_topology.TestAutoAllocatedTopology.test_get_allocated_net_topology_as_tenant[id-64bc0b02-cee4-11e5-9f3c-080027605a2b]_StringException: pythonlogging:'': {{{
2017-06-23 08:34:52,593 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_get_allocated_net_topology_as_tenant): 200 GET http://198.72.124.192:9696/v2.0/networks?admin_state_up=True 0.118s
2017-06-23 08:34:52,593 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-c453b2e4-89ad-49b6-be0c-4c093b348f95', u'connection': 'close', 'status': '200', u'content-length': '1225', 'content-location': 'http://198.72.124.192:9696/v2.0/networks?admin_state_up=True', u'date': 'Fri, 23 Jun 2017 08:34:52 GMT'}
Body: {"networks": [{"status": "ACTIVE", "router:external": true, "availability_zone_hints": [], "availability_zones": [], "description": "", "subnets": ["5501c7e5-271b-4b1e-a04c-297ab8f6369f"], "shared": false, "tenant_id": "09c4c8cc250942d69aa049141d9e1a75", "created_at": "2017-06-23T08:26:47Z", "tags": [], "ipv6_address_scope": null, "updated_at": "2017-06-23T08:26:52Z", "is_default": true, "mtu": 0, "admin_state_up": true, "revision_number": 6, "ipv4_address_scope": null, "port_security_enabled": true, "project_id": "09c4c8cc250942d69aa049141d9e1a75", "id": "76df4d8f-f319-4766-8952-7593caa1f3d6", "name": "public"}, {"status": "ACTIVE", "router:external": false, "availability_zone_hints": [], "availability_zones": [], "description": "", "subnets": ["1c06c915-b4b6-40cd-9c9c-324451f08645"], "shared": false, "tenant_id": "6d243efa3c484669947fcc50aefb9063", "created_at": "2017-06-23T08:34:45Z", "tags": [], "ipv6_address_scope": null, "updated_at": "2017-06-23T08:34:49Z", "admin_state_up": true, "mtu": 0, "revision_number": 6, "ipv4_address_scope": null, "port_security_enabled": true, "project_id": "6d243efa3c484669947fcc50aefb9063", "id": "9795e3de-2371-4d7a-8ef3-62bfe934eaa8", "name": "auto_allocated_network"}]}
2017-06-23 08:34:52,917 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_get_allocated_net_topology_as_tenant): 200 GET http://198.72.124.192:9696/v2.0/subnets?admin_state_up=True 0.323s
2017-06-23 08:34:52,917 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-867a5c0e-c224-4645-80c1-2a793c05c2c1', u'connection': 'close', 'status': '200', u'content-length': '689', 'content-location': 'http://198.72.124.192:9696/v2.0/subnets?admin_state_up=True', u'date': 'Fri, 23 Jun 2017 08:34:52 GMT'}
Body: {"subnets": [{"service_types": [], "description": "", "enable_dhcp": true, "network_id": "9795e3de-2371-4d7a-8ef3-62bfe934eaa8", "tenant_id": "6d243efa3c484669947fcc50aefb9063", "created_at": "2017-06-23T08:34:45Z", "dns_nameservers": [], "updated_at": "2017-06-23T08:34:45Z", "gateway_ip": "10.0.0.1", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.0.0.2", "end": "10.0.0.254"}], "host_routes": [], "revision_number": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "10.0.0.0/24", "project_id": "6d243efa3c484669947fcc50aefb9063", "id": "1c06c915-b4b6-40cd-9c9c-324451f08645", "subnetpool_id": "3211b9a5-12e3-417c-9adc-eedbfadb56ee", "name": "auto_allocated_subnet_v4"}]}
2017-06-23 08:34:53,192 11548 INFO [tempest.lib.common.rest_client] Request (TestAutoAllocatedTopology:test_get_allocated_net_topology_as_tenant): 200 GET http://198.72.124.192:9696/v2.0/routers?admin_state_up=True 0.274s
2017-06-23 08:34:53,192 11548 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {u'content-type': 'application/json', u'x-openstack-request-id': 'req-cadb045b-3f34-48e4-8904-daac3f3a3a76', u'connection': 'close', 'status': '200', u'content-length': '580', 'content-location': 'http://198.72.124.192:9696/v2.0/routers?admin_state_up=True', u'date': 'Fri, 23 Jun 2017 08:34:53 GMT'}
Body: {"routers": [{"status": "ACTIVE", "external_gateway_info": {"network_id": "76df4d8f-f319-4766-8952-7593caa1f3d6", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "5501c7e5-271b-4b1e-a04c-297ab8f6369f", "ip_address": "172.24.5.15"}]}, "description": null, "admin_state_up": true, "tenant_id": "6d243efa3c484669947fcc50aefb9063", "created_at": "2017-06-23T08:34:46Z", "updated_at": "2017-06-23T08:34:51Z", "revision_number": 6, "routes": [], "project_id": "6d243efa3c484669947fcc50aefb9063", "id": "d278bb45-452e-4cf3-9155-41b22aac90f7", "name": "auto_allocated_router"}]}
}}}
Traceback (most recent call last):
File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_auto_allocated_topology.py", line 85, in test_get_allocated_net_topology_as_tenant
self.assertEqual((0, 0, 0), resources_before)
File "/opt/stack/new/tempest/.tox/all-plugin/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/new/tempest/.tox/all-plugin/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: (0, 0, 0) != (1, 1, 1)
This issue was fixed in the openstack/neutron 9.4.1 release.