2017-03-25 20:27:51.683499 | ============================== 2017-03-25 20:27:51.683537 | Failed 1 tests - output below: 2017-03-25 20:27:51.683563 | ============================== 2017-03-25 20:27:51.683577 | 2017-03-25 20:27:51.683644 | tempest.api.network.test_routers.RoutersTest.test_create_router_set_gateway_with_fixed_ip[id-cbe42f84-04c2-11e7-8adb-fa163e4fa634] 2017-03-25 20:27:51.683711 | ---------------------------------------------------------------------------------------------------------------------------------- 2017-03-25 20:27:51.683728 | 2017-03-25 20:27:51.683749 | Captured pythonlogging: 2017-03-25 20:27:51.683780 | ~~~~~~~~~~~~~~~~~~~~~~~ 2017-03-25 20:27:51.683868 | 2017-03-25 20:13:56,593 12242 INFO [tempest.lib.common.rest_client] Request (RoutersTest:test_create_router_set_gateway_with_fixed_ip): 201 POST https://15.184.69.220:9696/v2.0/ports 1.705s 2017-03-25 20:27:51.683978 | 2017-03-25 20:13:56,594 12242 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} 2017-03-25 20:27:51.684030 | Body: {"port": {"network_id": "92f676a2-7189-4752-9a02-cf747257974e"}} 2017-03-25 20:27:51.684205 | Response - Headers: {u'x-openstack-request-id': 'req-cf8c6113-a808-4db9-a8e1-a0c17422636b', u'content-type': 'application/json', u'connection': 'close', 'status': '201', u'content-length': '926', u'server': 'Apache/2.4.18 (Ubuntu)', u'date': 'Sat, 25 Mar 2017 20:13:56 GMT', 'content-location': 'https://15.184.69.220:9696/v2.0/ports'} 2017-03-25 20:27:51.684515 | Body: {"port": {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2017-03-25T20:13:55Z", "device_owner": "", "revision_number": 6, "binding:profile": {}, "port_security_enabled": true, "fixed_ips": [{"subnet_id": "41f6fb6a-f10d-4a9a-9b9b-235bbbde0891", "ip_address": "172.24.5.2"}, {"subnet_id": "50994984-e8f8-48b1-ab8c-dab0e7045385", "ip_address": "2001:db8::a"}], "id": "de04bfa1-3612-4a6f-9d65-372be9e469a4", "security_groups": ["0cd924a3-ae29-42ce-9ae3-a975c811cf66"], "device_id": "", "name": "", "admin_state_up": true, "network_id": "92f676a2-7189-4752-9a02-cf747257974e", "tenant_id": "635ef223152646ff8705bbfde704a8f0", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:0d:62:7b", "project_id": "635ef223152646ff8705bbfde704a8f0", "created_at": "2017-03-25T20:13:55Z"}} 2017-03-25 20:27:51.684600 | 2017-03-25 20:13:57,935 12242 INFO [tempest.lib.common.rest_client] Request (RoutersTest:test_create_router_set_gateway_with_fixed_ip): 204 DELETE https://15.184.69.220:9696/v2.0/ports/de04bfa1-3612-4a6f-9d65-372be9e469a4 1.340s 2017-03-25 20:27:51.684685 | 2017-03-25 20:13:57,936 12242 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} 2017-03-25 20:27:51.684708 | Body: None 2017-03-25 20:27:51.684812 | Response - Headers: {'status': '204', u'x-openstack-request-id': 'req-5aa3b52c-9a08-45d1-8a57-59f915872bde', u'content-length': '0', u'server': 'Apache/2.4.18 (Ubuntu)', u'date': 'Sat, 25 Mar 2017 20:13:57 GMT', 'content-location': 'https://15.184.69.220:9696/v2.0/ports/de04bfa1-3612-4a6f-9d65-372be9e469a4', u'connection': 'close'} 2017-03-25 20:27:51.684837 | Body: 2017-03-25 20:27:51.684911 | 2017-03-25 20:13:59,973 12242 INFO [tempest.lib.common.rest_client] Request (RoutersTest:test_create_router_set_gateway_with_fixed_ip): 409 POST https://15.184.69.220:9696/v2.0/routers 2.037s 2017-03-25 20:27:51.684983 | 2017-03-25 20:13:59,974 12242 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} 2017-03-25 20:27:51.685056 | Body: {"router": {"external_gateway_info": {"network_id": "92f676a2-7189-4752-9a02-cf747257974e", "external_fixed_ips": [{"subnet_id": "41f6fb6a-f10d-4a9a-9b9b-235bbbde0891", "ip_address": "172.24.5.2"}]}}} 2017-03-25 20:27:51.685175 | Response - Headers: {u'x-openstack-request-id': 'req-092452f8-91ce-4c54-a62a-f4f02f6f6e54', u'content-type': 'application/json', u'connection': 'close', 'status': '409', u'content-length': '170', u'server': 'Apache/2.4.18 (Ubuntu)', u'date': 'Sat, 25 Mar 2017 20:13:59 GMT', 'content-location': 'https://15.184.69.220:9696/v2.0/routers'} 2017-03-25 20:27:51.706425 | Body: {"NeutronError": {"message": "IP address 172.24.5.2 already allocated in subnet 41f6fb6a-f10d-4a9a-9b9b-235bbbde0891", "type": "IpAddressAlreadyAllocated", "detail": ""}} 2017-03-25 20:27:51.706466 |