Reviewed: https://review.openstack.org/490639 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=242b63be234f6d98a57166b25f8b5728430ddb80 Submitter: Jenkins Branch: master
commit 242b63be234f6d98a57166b25f8b5728430ddb80 Author: Ihar Hrachyshka <[email protected]> Date: Thu Aug 3 12:52:32 2017 -0700 Don't check full subnet body in test_filtering_shared_subnets Plugins may add attributes to subnets, in which case simple equality check will fail. Instead of comparing bodies, compare just IDs. It should be enough to achieve the goal of the test case. Change-Id: Iebc22f99285777df7de499c713b2bc1e38e0bd62 Closes-Bug: #1706986 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1706986 Title: test_filtering_shared_subnets - neutron tempest test case fails with "_impl.MismatchError" Status in neutron: Fix Released Bug description: - It asserts by checking if "exact json body" of created subnets(of both private and shared networks ,which gets created in test case) is present in output of "list_subnets(shared=X)['subnets']" for X=True/False. Here, "priv" or "shared" is set to the body of subnet at the time of creation, later it checks for the presence of an exact match in the output of "list_subnets()". However, if the vendor of plugin adds custom attributes/keys to subnets/networks, which may or may not get populated right at the time of creation, but at a later point in time. This causes a mismatch of subnet body and the test fails with Mismatch_error. As per the Tempest Design Principles, Tempest should be explicit in testing features i.e, the test cases must be independent of the implementation of Plugin by vendor and as the JSON/body{} of created subnet depends on the vendor providing the plugin, so all assert statements in this test case must be checked based on subnet[id]. Test: neutron.tests.tempest.api.admin.test_shared_network_extension.SharedNetworksTest.test_filtering_shared_subnets[id-6661d219-b96d-4597-ad10-51672353421a] Status: FAIL Error: _StringException: pythonlogging:'': {{{ 2017-07-04 08:15:27,232 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 201 POST http://10.106.1.105:9696/v2.0/networks 1.052s 2017-07-04 08:15:27,233 867335 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: {"network": {"name": "test-network--861897541"}} Response - Headers: {'status': '201', 'content-length': '581', 'content-location': 'http://10.106.1.105:9696/v2.0/networks', 'date': 'Tue, 04 Jul 2017 08:15:27 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-d8c23752-d18f-4dcc-aced-a7cd907bf366'} Body: {"network": {"status": "ACTIVE", "router:external": false, "availability_zone_hints": [], "availability_zones": [], "description": "", "subnets": [], "shared": false, "tenant_id": "e3b76f3b81be475d891b1bfa093e0ba2", "created_at": "2017-07-04T08:15:26Z", "tags": [], "ipv6_address_scope": null, "updated_at": "2017-07-04T08:15:26Z", "admin_state_up": true, "mtu": 1496, "revision_number": 3, "ipv4_address_scope": null, "port_security_enabled": true, "project_id": "e3b76f3b81be475d891b1bfa093e0ba2", "id": "db6798eb-50ee-4995-b9d3-814ae734c8ad", "name": "test-network--861897541"}} 2017-07-04 08:15:28,526 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 201 POST http://10.106.1.105:9696/v2.0/subnets 1.292s 2017-07-04 08:15:28,528 867335 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: {"subnet": {"ip_version": 4, "network_id": "db6798eb-50ee-4995-b9d3-814ae734c8ad", "cidr": "10.100.0.0/28", "gateway_ip": "10.100.0.1"}} Response - Headers: {'status': '201', 'content-length': '734', 'content-location': 'http://10.106.1.105:9696/v2.0/subnets', 'date': 'Tue, 04 Jul 2017 08:15:28 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-421be339-9f46-4b4e-92c1-4591dab79351'} Body: {"subnet": {"apic:distinguished_names": {}, "updated_at": "2017-07-04T08:15:27Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "b63487c6-0caf-4784-a434-e1f0343a0b05", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.0.1", "project_id": "e3b76f3b81be475d891b1bfa093e0ba2", "apic:snat_host_pool": false, "apic:synchronization_state": "N/A", "cidr": "10.100.0.0/28", "subnetpool_id": null, "service_types": [], "name": "", "enable_dhcp": true, "network_id": "db6798eb-50ee-4995-b9d3-814ae734c8ad", "tenant_id": "e3b76f3b81be475d891b1bfa093e0ba2", "created_at": "2017-07-04T08:15:27Z", "ip_version": 4}} 2017-07-04 08:15:29,843 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 201 POST http://10.106.1.105:9696/v2.0/subnets 1.314s 2017-07-04 08:15:29,843 867335 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: {"subnet": {"ip_version": 4, "network_id": "ed89185f-74d1-4552-9556-701c5b22a632", "cidr": "10.100.0.0/28", "gateway_ip": "10.100.0.1"}} Response - Headers: {'status': '201', 'content-length': '734', 'content-location': 'http://10.106.1.105:9696/v2.0/subnets', 'date': 'Tue, 04 Jul 2017 08:15:29 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-ea04fb14-88c7-4dda-b7ac-6ec40fce4903'} Body: {"subnet": {"apic:distinguished_names": {}, "updated_at": "2017-07-04T08:15:28Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "a8a72973-16bd-4e82-990d-61dc508983cc", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.0.1", "project_id": "e3e26dfde2264c38b0c4d3a064f14df1", "apic:snat_host_pool": false, "apic:synchronization_state": "N/A", "cidr": "10.100.0.0/28", "subnetpool_id": null, "service_types": [], "name": "", "enable_dhcp": true, "network_id": "ed89185f-74d1-4552-9556-701c5b22a632", "tenant_id": "e3e26dfde2264c38b0c4d3a064f14df1", "created_at": "2017-07-04T08:15:28Z", "ip_version": 4}} 2017-07-04 08:15:32,249 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 200 GET http://10.106.1.105:9696/v2.0/subnets?shared=True 2.405s 2017-07-04 08:15:32,251 867335 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': '2348', 'content-location': 'http://10.106.1.105:9696/v2.0/subnets?shared=True', 'date': 'Tue, 04 Jul 2017 08:15:32 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-3aeae2e6-9105-498c-8c0d-ee1eaebe6031'} Body: {"subnets": [{"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.52.1/24]"}, "updated_at": "2017-07-04T07:31:57Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.52.2", "end": "10.100.52.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "1552e0b0-00ff-4b9b-b5d3-af434976ca07", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.52.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": false, "apic:synchronization_state": "synced", "cidr": "10.100.52.0/24", "subnetpool_id": null, "service_types": [], "name": "floating", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:57Z", "ip_version": 4}, {"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.51.1/24]"}, "updated_at": "2017-07-04T07:31:46Z", "ipv6_ra_mode": null, "alloca tion_pools": [{"start": "10.100.51.2", "end": "10.100.51.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "58d1b525-0a62-4b45-be48-c54104dfd199", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.51.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": true, "apic:synchronization_state": "synced", "cidr": "10.100.51.0/24", "subnetpool_id": null, "service_types": [], "name": "ext-subnet", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:46Z", "ip_version": 4}, {"apic:distinguished_names": {}, "updated_at": "2017-07-04T08:15:28Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "a8a72973-16bd-4e82-990d-61dc508983cc", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.0.1", "project_ id": "e3e26dfde2264c38b0c4d3a064f14df1", "apic:snat_host_pool": false, "apic:synchronization_state": "N/A", "cidr": "10.100.0.0/28", "subnetpool_id": null, "service_types": [], "name": "", "enable_dhcp": true, "network_id": "ed89185f-74d1-4552-9556-701c5b22a632", "tenant_id": "e3e26dfde2264c38b0c4d3a064f14df1", "created_at": "2017-07-04T08:15:28Z", "ip_version": 4}]} 2017-07-04 08:15:33,099 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 200 GET http://10.106.1.105:9696/v2.0/subnets?shared=True 0.847s 2017-07-04 08:15:33,101 867335 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': '2348', 'content-location': 'http://10.106.1.105:9696/v2.0/subnets?shared=True', 'date': 'Tue, 04 Jul 2017 08:15:33 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-e889637c-f00a-4851-9776-618ce9a9b534'} Body: {"subnets": [{"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.52.1/24]"}, "updated_at": "2017-07-04T07:31:57Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.52.2", "end": "10.100.52.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "1552e0b0-00ff-4b9b-b5d3-af434976ca07", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.52.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": false, "apic:synchronization_state": "synced", "cidr": "10.100.52.0/24", "subnetpool_id": null, "service_types": [], "name": "floating", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:57Z", "ip_version": 4}, {"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.51.1/24]"}, "updated_at": "2017-07-04T07:31:46Z", "ipv6_ra_mode": null, "alloca tion_pools": [{"start": "10.100.51.2", "end": "10.100.51.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "58d1b525-0a62-4b45-be48-c54104dfd199", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.51.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": true, "apic:synchronization_state": "synced", "cidr": "10.100.51.0/24", "subnetpool_id": null, "service_types": [], "name": "ext-subnet", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:46Z", "ip_version": 4}, {"apic:distinguished_names": {}, "updated_at": "2017-07-04T08:15:28Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "a8a72973-16bd-4e82-990d-61dc508983cc", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.0.1", "project_ id": "e3e26dfde2264c38b0c4d3a064f14df1", "apic:snat_host_pool": false, "apic:synchronization_state": "N/A", "cidr": "10.100.0.0/28", "subnetpool_id": null, "service_types": [], "name": "", "enable_dhcp": true, "network_id": "ed89185f-74d1-4552-9556-701c5b22a632", "tenant_id": "e3e26dfde2264c38b0c4d3a064f14df1", "created_at": "2017-07-04T08:15:28Z", "ip_version": 4}]} 2017-07-04 08:15:33,593 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 200 GET http://10.106.1.105:9696/v2.0/subnets?shared=True 0.491s 2017-07-04 08:15:33,594 867335 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': '2348', 'content-location': 'http://10.106.1.105:9696/v2.0/subnets?shared=True', 'date': 'Tue, 04 Jul 2017 08:15:33 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-1fb6e36b-2518-4fff-823e-61c479237718'} Body: {"subnets": [{"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.52.1/24]"}, "updated_at": "2017-07-04T07:31:57Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.52.2", "end": "10.100.52.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "1552e0b0-00ff-4b9b-b5d3-af434976ca07", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.52.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": false, "apic:synchronization_state": "synced", "cidr": "10.100.52.0/24", "subnetpool_id": null, "service_types": [], "name": "floating", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:57Z", "ip_version": 4}, {"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.51.1/24]"}, "updated_at": "2017-07-04T07:31:46Z", "ipv6_ra_mode": null, "alloca tion_pools": [{"start": "10.100.51.2", "end": "10.100.51.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "58d1b525-0a62-4b45-be48-c54104dfd199", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.51.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": true, "apic:synchronization_state": "synced", "cidr": "10.100.51.0/24", "subnetpool_id": null, "service_types": [], "name": "ext-subnet", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:46Z", "ip_version": 4}, {"apic:distinguished_names": {}, "updated_at": "2017-07-04T08:15:28Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "a8a72973-16bd-4e82-990d-61dc508983cc", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.0.1", "project_ id": "e3e26dfde2264c38b0c4d3a064f14df1", "apic:snat_host_pool": false, "apic:synchronization_state": "N/A", "cidr": "10.100.0.0/28", "subnetpool_id": null, "service_types": [], "name": "", "enable_dhcp": true, "network_id": "ed89185f-74d1-4552-9556-701c5b22a632", "tenant_id": "e3e26dfde2264c38b0c4d3a064f14df1", "created_at": "2017-07-04T08:15:28Z", "ip_version": 4}]} 2017-07-04 08:15:34,604 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 200 GET http://10.106.1.105:9696/v2.0/subnets?shared=True 1.009s 2017-07-04 08:15:34,606 867335 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': '2348', 'content-location': 'http://10.106.1.105:9696/v2.0/subnets?shared=True', 'date': 'Tue, 04 Jul 2017 08:15:34 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-3167a4ef-a664-426b-9bf1-d7524ac92375'} Body: {"subnets": [{"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.52.1/24]"}, "updated_at": "2017-07-04T07:31:57Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.52.2", "end": "10.100.52.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "1552e0b0-00ff-4b9b-b5d3-af434976ca07", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.52.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": false, "apic:synchronization_state": "synced", "cidr": "10.100.52.0/24", "subnetpool_id": null, "service_types": [], "name": "floating", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:57Z", "ip_version": 4}, {"apic:distinguished_names": {"Subnet": "uni/tn-common/BD-EXT-ML3-Out/subnet-[10.100.51.1/24]"}, "updated_at": "2017-07-04T07:31:46Z", "ipv6_ra_mode": null, "alloca tion_pools": [{"start": "10.100.51.2", "end": "10.100.51.254"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "58d1b525-0a62-4b45-be48-c54104dfd199", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.51.1", "project_id": "013d81527573472786ff4c5da9e72d32", "apic:snat_host_pool": true, "apic:synchronization_state": "synced", "cidr": "10.100.51.0/24", "subnetpool_id": null, "service_types": [], "name": "ext-subnet", "enable_dhcp": false, "network_id": "69ad88e3-89ac-43f0-afce-9c7d86463fd6", "tenant_id": "013d81527573472786ff4c5da9e72d32", "created_at": "2017-07-04T07:31:46Z", "ip_version": 4}, {"apic:distinguished_names": {}, "updated_at": "2017-07-04T08:15:28Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "a8a72973-16bd-4e82-990d-61dc508983cc", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.0.1", "project_ id": "e3e26dfde2264c38b0c4d3a064f14df1", "apic:snat_host_pool": false, "apic:synchronization_state": "N/A", "cidr": "10.100.0.0/28", "subnetpool_id": null, "service_types": [], "name": "", "enable_dhcp": true, "network_id": "ed89185f-74d1-4552-9556-701c5b22a632", "tenant_id": "e3e26dfde2264c38b0c4d3a064f14df1", "created_at": "2017-07-04T08:15:28Z", "ip_version": 4}]} 2017-07-04 08:15:35,147 867335 INFO [tempest.lib.common.rest_client] Request (SharedNetworksTest:test_filtering_shared_subnets): 200 GET http://10.106.1.105:9696/v2.0/subnets?shared=False 0.540s 2017-07-04 08:15:35,148 867335 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': '863', 'content-location': 'http://10.106.1.105:9696/v2.0/subnets?shared=False', 'date': 'Tue, 04 Jul 2017 08:15:35 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-f69d1a77-860f-43e4-8b3b-e09b22cc5810'} Body: {"subnets": [{"apic:distinguished_names": {"10.100.0.2": "uni/tn-prj_e3b76f3b81be475d891b1bfa093e0ba2/BD-net_db6798eb-50ee-4995-b9d3-814ae734c8ad/subnet-[10.100.0.2/28]"}, "updated_at": "2017-07-04T08:15:27Z", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ipv6_address_mode": null, "id": "b63487c6-0caf-4784-a434-e1f0343a0b05", "description": "", "dns_nameservers": [], "gateway_ip": "10.100.0.1", "project_id": "e3b76f3b81be475d891b1bfa093e0ba2", "apic:snat_host_pool": false, "apic:synchronization_state": "N/A", "cidr": "10.100.0.0/28", "subnetpool_id": null, "service_types": [], "name": "", "enable_dhcp": true, "network_id": "db6798eb-50ee-4995-b9d3-814ae734c8ad", "tenant_id": "e3b76f3b81be475d891b1bfa093e0ba2", "created_at": "2017-07-04T08:15:27Z", "ip_version": 4}]} }}} Traceback (most recent call last): File "/tmp/tmpmQYaQi_tempest/neutron/neutron/tests/tempest/api/admin/test_shared_network_extension.py", line 69, in test_filtering_shared_subnets self.assertIn(priv, self.client.list_subnets(shared=False)['subnets']) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 356, in assertIn self.assertThat(haystack, Contains(needle), message) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: {u'apic:distinguished_names': {}, u'updated_at': u'2017-07-04T08:15:27Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'host_routes': [], u'revision_number': 2, u'ipv6_address_mode': None, u'id': u'b63487c6-0caf-4784-a434-e1f0343a0b05', u'apic:synchronization_state': u'N/A', u'dns_nameservers': [], u'gateway_ip': u'10.100.0.1', u'project_id': u'e3b76f3b81be475d891b1bfa093e0ba2', u'apic:snat_host_pool': False, u'description': u'', u'cidr': u'10.100.0.0/28', u'subnetpool_id': None, u'service_types': [], u'name': u'', u'enable_dhcp': True, u'network_id': u'db6798eb-50ee-4995-b9d3-814ae734c8ad', u'tenant_id': u'e3b76f3b81be475d891b1bfa093e0ba2', u'created_at': u'2017-07-04T08:15:27Z', u'ip_version': 4} not in [{u'apic:distinguished_names': {u'10.100.0.2': u'uni/tn-prj_e3b76f3b81be475d891b1bfa093e0ba2/BD-net_db6798eb-50ee-4995-b9d3-814ae734c8ad/subnet-[10.100.0.2/28]'}, u'updated_at': u'2017-07- 04T08:15:27Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'host_routes': [], u'revision_number': 2, u'ipv6_address_mode': None, u'id': u'b63487c6-0caf-4784-a434-e1f0343a0b05', u'apic:synchronization_state': u'N/A', u'dns_nameservers': [], u'gateway_ip': u'10.100.0.1', u'project_id': u'e3b76f3b81be475d891b1bfa093e0ba2', u'apic:snat_host_pool': False, u'description': u'', u'cidr': u'10.100.0.0/28', u'subnetpool_id': None, u'service_types': [], u'name': u'', u'enable_dhcp': True, u'network_id': u'db6798eb-50ee-4995-b9d3-814ae734c8ad', u'tenant_id': u'e3b76f3b81be475d891b1bfa093e0ba2', u'created_at': u'2017-07-04T08:15:27Z', u'ip_version': 4}] To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1706986/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

