R2.20 Build64
The test tempest.api.network.test_ports.PortsTestJSON.test_port_list_filter_by_ip fails
2015-07-20 16:09:51,302 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:test_port_list_filter_by_ip): 200 GET http://10.204.217.143:9696/v2.0/ports?fixed_ips=ip_address%3D10.100.0.3 0.011s
2015-07-20 16:09:51,304 6082 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': '13', 'content-location': 'http://10.204.217.143:9696/v2.0/ports?fixed_ips=ip_address%3D10.100.0.3', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:39 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-82ed1051-9f94-4626-b45b-b1bb9526b367'}
Body: {"ports": []}
Full log :
==========
pythonlogging:'': {{{
2015-07-20 16:09:50,361 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:test_port_list_filter_by_ip): 201 POST http://10.204.217.143:9696/v2.0/networks 0.084s
2015-07-20 16:09:50,363 6082 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"network": {"name": "tempest-test-network--1904920349"}}
Response - Headers: {'status': '201', 'content-length': '395', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:38 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-a691905d-85ed-4d82-9760-f856307c08c1'}
Body: {"network": {"status": "ACTIVE", "router:external": false, "subnets": [], "name": "tempest-test-network--1904920349", "admin_state_up": true, "tenant_id": "1b5a1b13fc9d4377b25c169d003f6a29", "shared": false, "contrail:instance_count": 0, "id": "1304a5c4-6940-4490-b837-c6892d5af1aa", "contrail:fq_name": ["default-domain", "tempest-PortsTestJSON-646346082", "tempest-test-network--1904920349"]}}
2015-07-20 16:09:50,638 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:test_port_list_filter_by_ip): 201 POST http://10.204.217.143:9696/v2.0/subnets 0.273s
2015-07-20 16:09:50,639 6082 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": "1304a5c4-6940-4490-b837-c6892d5af1aa", "cidr": "10.100.0.0/28", "gateway_ip": "10.100.0.1"}}
Response - Headers: {'status': '201', 'content-length': '375', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:38 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-05c25831-0310-41e5-9f7f-c998161264cd'}
Body: {"subnet": {"name": "", "enable_dhcp": true, "network_id": "1304a5c4-6940-4490-b837-c6892d5af1aa", "tenant_id": "1b5a1b13fc9d4377b25c169d003f6a29", "dns_nameservers": [], "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "gateway_ip": "10.100.0.1", "ip_version": 4, "host_routes": [], "cidr": "10.100.0.0/28", "id": "9451d986-7594-45ee-9ea5-10b366491f6b"}}
2015-07-20 16:09:51,080 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:test_port_list_filter_by_ip): 201 POST http://10.204.217.143:9696/v2.0/ports 0.438s
2015-07-20 16:09:51,081 6082 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"port": {"network_id": "1304a5c4-6940-4490-b837-c6892d5af1aa", "fixed_ips": [{"ip_address": "10.100.0.3"}]}}
Response - Headers: {'status': '201', 'content-length': '481', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:39 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-62172c69-627d-4e9d-b90e-8869b76f2962'}
Body: {"port": {"status": "DOWN", "name": "e62ca436-9fae-4562-88d9-39644a7e78f2", "admin_state_up": true, "network_id": "1304a5c4-6940-4490-b837-c6892d5af1aa", "tenant_id": "1b5a1b13fc9d4377b25c169d003f6a29", "device_owner": "", "mac_address": "02:e6:2c:a4:36:9f", "fixed_ips": [{"subnet_id": "9451d986-7594-45ee-9ea5-10b366491f6b", "ip_address": "10.100.0.3"}], "id": "e62ca436-9fae-4562-88d9-39644a7e78f2", "security_groups": ["39eabcae-e467-4af9-b858-83641f964cab"], "device_id": ""}}
2015-07-20 16:09:51,287 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:test_port_list_filter_by_ip): 201 POST http://10.204.217.143:9696/v2.0/ports 0.203s
2015-07-20 16:09:51,288 6082 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"port": {"network_id": "1304a5c4-6940-4490-b837-c6892d5af1aa", "fixed_ips": [{"ip_address": "10.100.0.4"}]}}
Response - Headers: {'status': '201', 'content-length': '481', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:39 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-a2f5b782-1860-49ca-9abb-8a10fa65b8d4'}
Body: {"port": {"status": "DOWN", "name": "a5b6c411-cd5a-41de-b746-d4ea085a074c", "admin_state_up": true, "network_id": "1304a5c4-6940-4490-b837-c6892d5af1aa", "tenant_id": "1b5a1b13fc9d4377b25c169d003f6a29", "device_owner": "", "mac_address": "02:a5:b6:c4:11:cd", "fixed_ips": [{"subnet_id": "9451d986-7594-45ee-9ea5-10b366491f6b", "ip_address": "10.100.0.4"}], "id": "a5b6c411-cd5a-41de-b746-d4ea085a074c", "security_groups": ["39eabcae-e467-4af9-b858-83641f964cab"], "device_id": ""}}
2015-07-20 16:09:51,302 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:test_port_list_filter_by_ip): 200 GET http://10.204.217.143:9696/v2.0/ports?fixed_ips=ip_address%3D10.100.0.3 0.011s
2015-07-20 16:09:51,304 6082 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': '13', 'content-location': 'http://10.204.217.143:9696/v2.0/ports?fixed_ips=ip_address%3D10.100.0.3', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:39 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-82ed1051-9f94-4626-b45b-b1bb9526b367'}
Body: {"ports": []}
2015-07-20 16:09:51,480 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:_run_cleanups): 204 DELETE http://10.204.217.143:9696/v2.0/ports/a5b6c411-cd5a-41de-b746-d4ea085a074c 0.174s
2015-07-20 16:09:51,481 6082 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {'date': 'Mon, 20 Jul 2015 10:18:39 GMT', 'status': '204', 'connection': 'close', 'content-length': '0', 'x-openstack-request-id': 'req-feb261d3-a3c0-415c-9022-23de65b9c314'}
Body:
2015-07-20 16:09:51,700 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:_run_cleanups): 204 DELETE http://10.204.217.143:9696/v2.0/ports/e62ca436-9fae-4562-88d9-39644a7e78f2 0.216s
2015-07-20 16:09:51,701 6082 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {'date': 'Mon, 20 Jul 2015 10:18:39 GMT', 'status': '204', 'connection': 'close', 'content-length': '0', 'x-openstack-request-id': 'req-531c22c8-8c32-4895-97be-739d402c0121'}
Body:
2015-07-20 16:09:51,855 6082 INFO [tempest_lib.common.rest_client] Request (PortsTestJSON:_run_cleanups): 204 DELETE http://10.204.217.143:9696/v2.0/subnets/9451d986-7594-45ee-9ea5-10b366491f6b 0.152s
2015-07-20 16:09:51,856 6082 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: None
Response - Headers: {'date': 'Mon, 20 Jul 2015 10:18:40 GMT', 'status': '204', 'connection': 'close', 'content-length': '0', 'x-openstack-request-id': 'req-783b485a-5e0b-47da-913c-e4929fe09d0c'}
Body:
}}}
Traceback (most recent call last):
File "/home/ubuntu/jenkins/workspace/VeduTempest/tempest/tempest/api/network/test_ports.py", line 175, in test_port_list_filter_by_ip
self.assertEqual(len(ports), 1)
File "/home/ubuntu/jenkins/workspace/VeduTempest/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/ubuntu/jenkins/workspace/VeduTempest/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1