[openstack-dev] [Tempest] Failing to run a test on a remote devstack server
Jordan Pittier
jordan.pittier at scality.com
Thu Oct 20 16:34:57 UTC 2016
Hi Yossi,
I suggest you carefully read the source code of this test and all the
options in your tempest.conf file.
Jordan
On Thu, Oct 20, 2016 at 3:22 PM, Yossi Tamarov <yossi.tamarov at gmail.com>
wrote:
> Hello everyone,
> When trying to run the next test: TestNetworkBasicOps.test_
> connectivity_between_vms_on_different_networks, from the devstack server
> itself, it passes, but when trying to run it from another server. i.e. by
> changing the *uri *parameter in the tempest.conf file in another server,
> the first step fails (
>
> I really need to run the test from a remote server.
> Does anyone have any idea of what the origin of the problem might be?
>
> thanks in advance,
> Joseph.
>
> Log prints:
>
> *The unsuccessful run's output:*
> *root at devstack-man17-d1:/opt/stack/tempest# ostestr --regex
> '(?!.*\[.*\bslow\b.*\])('tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_ne*
> *tworks')'*
> *running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \*
> *OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \*
> *OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \*
> *OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \*
> *${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./}
> ${OS_TEST_PATH:-./tempest/test_discover} --list*
> *running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \*
> *OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \*
> *OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \*
> *OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \*
> *${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./}
> ${OS_TEST_PATH:-./tempest/test_discover} --load-list /tmp/tmpflGqv0*
> *{0}
> tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_networks
> [1.439351s] ... FAILED*
>
> *==============================*
> *Failed 1 tests - output below:*
> *==============================*
>
>
> *tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_networks[compute,id-1546850e-fbaa-42f5-8b5f-03d8a6a95f15,network]*
>
> *------------------------------------------------------------------------------------------------------------------------------------------------------------------------*
>
> *Captured pythonlogging:*
> *~~~~~~~~~~~~~~~~~~~~~~~*
> * 2016-10-20 16:18:42,698 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 200 POST http://10.0.43.14:500 <http://10.0.43.14:500>*
> *0/v2.0/tokens*
> * 2016-10-20 16:18:42,698 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json'}*
> * Body: <omitted>*
> * Response - Headers: {'status': '200', 'content-length': '3033',
> 'content-location': 'http://10.0.43.14:5000/v2.0/tokens
> <http://10.0.43.14:5000/v2.0/tokens>', 'vary': 'X-Auth-Token', 'server':
> 'Apache/2.4.10 (Debian)',*
> * 'connection': 'close', 'date': 'Thu, 20 Oct 2016 13:18:39 GMT',
> 'content-type': 'application/json', 'x-openstack-request-id':
> 'req-860cca80-c240-4868-af33-6767c34bac7b'}*
> * Body: {"access": {"token": {"issued_at":
> "2016-10-20T13:18:40.000000Z", "expires": "2016-10-20T14:18:40Z", "id":
> "bcc6ea6da5a54551b8d48b2726fbc4cf", "tenant": {"description": "t*
> *empest-TestNetworkBasicOps-2126651196 <2126651196>-desc", "enabled":
> true, "id": "f8cb09dd19094615befd6cc27553c5d6", "name":
> "tempest-TestNetworkBasicOps-2126651196 <2126651196>"}, "audit_ids":
> ["5nc6OIUNQMiN3HtwZ7x*
> *i2A"]}, "serviceCatalog": [{"endpoints": [{"adminURL":
> "http://10.0.43.14:8774/v2.1/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8774/v2.1/f8cb09dd19094615befd6cc27553c5d6>", "region":
> "RegionOne", "internalURL": "http://10.0.43.14:8774/v2.1/f8c
> <http://10.0.43.14:8774/v2.1/f8c>*
> *b09dd19094615befd6cc27553c5d6", "id": "1f706e5df45a435c86e04536f1337d7a",
> "publicURL": "http://10.0.43.14:8774/v2.1/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8774/v2.1/f8cb09dd19094615befd6cc27553c5d6>"}],
> "endpoints_links": [], "type": "comp*
> *ute", "name": "nova"}, {"endpoints": [{"adminURL":
> "http://10.0.43.14:9696/ <http://10.0.43.14:9696/>", "region": "RegionOne",
> "internalURL": "http://10.0.43.14:9696/ <http://10.0.43.14:9696/>", "id":
> "32476f6907cc48d49c5bc5fe30bacd2b", "pub*
> *licURL": "http://10.0.43.14:9696/ <http://10.0.43.14:9696/>"}],
> "endpoints_links": [], "type": "network", "name": "neutron"}, {"endpoints":
> [{"adminURL": "http://10.0.43.14:8776/v2/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8776/v2/f8cb09dd19094615befd6cc27553c5d6>",*
> * "region": "RegionOne", "internalURL":
> "http://10.0.43.14:8776/v2/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8776/v2/f8cb09dd19094615befd6cc27553c5d6>", "id":
> "06fec1e446244e2d84c2fdced4fc51c7", "publicURL":
> "http://10.0.43.14:8776/v2/f8cb09 <http://10.0.43.14:8776/v2/f8cb09>*
> *dd19094615befd6cc27553c5d6"}], "endpoints_links": [], "type": "volumev2",
> "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://10.0.43.14:9292
> <http://10.0.43.14:9292>", "region": "RegionOne", "internalURL": "h*
> *ttp://10.0.43.14:9292 <http://10.0.43.14:9292>", "id":
> "4dab7644ae384937973b5d460da0b8f7", "publicURL": "http://10.0.43.14:9292
> <http://10.0.43.14:9292>"}], "endpoints_links": [], "type": "image",
> "name": "glance"}, {"endpoints": [{"adminU*
> *RL": "http://10.0.43.14:8774/v2/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8774/v2/f8cb09dd19094615befd6cc27553c5d6>", "region":
> "RegionOne", "internalURL":
> "http://10.0.43.14:8774/v2/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8774/v2/f8cb09dd19094615befd6cc27553c5d6>", "id":
> "3a0cf29150c543b*
> *788a081f40a4e7ba5", "publicURL":
> "http://10.0.43.14:8774/v2/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8774/v2/f8cb09dd19094615befd6cc27553c5d6>"}],
> "endpoints_links": [], "type": "compute_legacy", "name": "nova_legacy"},
> {"endpoints": [{"ad*
> *minURL": "http://10.0.43.14:8776/v1/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8776/v1/f8cb09dd19094615befd6cc27553c5d6>", "region":
> "RegionOne", "internalURL":
> "http://10.0.43.14:8776/v1/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8776/v1/f8cb09dd19094615befd6cc27553c5d6>", "id":
> "21eccb904b0*
> *74afc877293813d9d3174", "publicURL":
> "http://10.0.43.14:8776/v1/f8cb09dd19094615befd6cc27553c5d6
> <http://10.0.43.14:8776/v1/f8cb09dd19094615befd6cc27553c5d6>"}],
> "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
> [{"adminURL":*
> *"http://10.0.43.14:35357/v2.0 <http://10.0.43.14:35357/v2.0>", "region":
> "RegionOne", "internalURL": "http://10.0.43.14:5000/v2.0
> <http://10.0.43.14:5000/v2.0>", "id": "24f81c067d954e48b2e71a2c9328aff2",
> "publicURL": "http://10.0.43.14:5000/v2.0 <http://10.0.43.14:5000/v2.0>"}],*
> *"endpoints_links": [], "type": "identity", "name": "keystone"}], "user":
> {"username": "tempest-TestNetworkBasicOps-2126651196 <2126651196>",
> "roles_links": [], "id": "fbd71718c3904b73aca395fd08269bb0",*
> *"roles": [{"name": "Member"}, {"name": "_member_"}], "name":
> "tempest-TestNetworkBasicOps-2126651196 <2126651196>"}, "metadata":
> {"is_admin": 0, "roles": ["170db0f6bd5a4cd8a7a6a24b534e1cfa", "9fe2ff9ee4*
> *384b1894a90878d3e92bab"]}}}*
> * 2016-10-20 16:18:42,829 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:969 <http://10.0.43.14:969>*
> *6/v2.0/security-groups 0.130s*
> * 2016-10-20 16:18:42,829 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"security_group": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "description":
> "tempest-secgroup-smoke-32783258 description", "name":
> "tempest-secgroup-smoke-32783258"}}*
> * Response - Headers: {'status': '201', 'content-length': '922',
> 'content-location': 'http://10.0.43.14:9696/v2.0/security-groups
> <http://10.0.43.14:9696/v2.0/security-groups>', 'date': 'Thu, 20 Oct 2016
> 13:18:40 GMT', 'content-type': 'application/json; charset=UTF-8',
> 'connection': 'close', 'x-openstack-request-id':
> 'req-c152c154-70bb-4b7e-a7b5-0b9c6e0c9e00'}*
> * Body: {"security_group": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "description":
> "tempest-secgroup-smoke-32783258 description", "id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "security_group_rules":
> [{"direction": "egress", "protocol": null, "description": "",
> "port_range_max": null, "id": "08ca14d0-dbc3-49c8-b98b-c72a588a2582",
> "remote_group_id": null, "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": null, "ethertype":
> "IPv4"}, {"direction": "egress", "protocol": null, "description": "",
> "port_range_max": null, "id": "95e5b2c4-3a29-4bf5-a5c4-e3e1fbcc1d00",
> "remote_group_id": null, "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": null, "ethertype":
> "IPv6"}], "name": "tempest-secgroup-smoke-32783258"}}*
> * 2016-10-20 16:18:42,935 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules> 0.105s*
> * 2016-10-20 16:18:42,935 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"security_group_rule": {"direction": "ingress",
> "protocol": "tcp", "tenant_id": "f8cb09dd19094615befd6cc27553c5d6",
> "port_range_max": 22, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "port_range_min": 22}}*
> * Response - Headers: {'status': '201', 'content-length': '359',
> 'content-location': 'http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules>', 'date': 'Thu, 20 Oct
> 2016 13:18:40 GMT', 'content-type': 'application/json; charset=UTF-8',
> 'connection': 'close', 'x-openstack-request-id':
> 'req-82593f96-4e19-4d1d-a2e4-6807aaa4c48f'}*
> * Body: {"security_group_rule": {"direction": "ingress",
> "protocol": "tcp", "description": "", "port_range_max": 22, "id":
> "8534eed0-69cf-4a3d-be60-99ece9a5532e", "remote_group_id": null,
> "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": 22, "ethertype":
> "IPv4"}}*
> * 2016-10-20 16:18:43,025 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules> 0.090s*
> * 2016-10-20 16:18:43,025 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"security_group_rule": {"direction": "egress",
> "protocol": "tcp", "tenant_id": "f8cb09dd19094615befd6cc27553c5d6",
> "port_range_max": 22, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "port_range_min": 22}}*
> * Response - Headers: {'status': '201', 'content-length': '358',
> 'content-location': 'http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules>', 'date': 'Thu, 20 Oct
> 2016 13:18:40 GMT', 'content-type': 'application/json; charset=UTF-8',
> 'connection': 'close', 'x-openstack-request-id':
> 'req-70f99ef3-a888-4e05-b9e8-95621fc7b2f0'}*
> * Body: {"security_group_rule": {"direction": "egress",
> "protocol": "tcp", "description": "", "port_range_max": 22, "id":
> "3273099e-decb-4b54-949f-8d6a02dcd3f8", "remote_group_id": null,
> "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": 22, "ethertype":
> "IPv4"}}*
> * 2016-10-20 16:18:43,120 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules> 0.094s*
> * 2016-10-20 16:18:43,121 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"security_group_rule": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "direction": "ingress", "protocol":
> "icmp", "security_group_id": "18b770f2-4c50-4126-83a8-f668ef22e727"}}*
> * Response - Headers: {'status': '201', 'content-length': '364',
> 'content-location': 'http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules>', 'date': 'Thu, 20 Oct
> 2016 13:18:40 GMT', 'content-type': 'application/json; charset=UTF-8',
> 'connection': 'close', 'x-openstack-request-id':
> 'req-079a06cf-3a37-4167-83ef-d03c2bb6b9f8'}*
> * Body: {"security_group_rule": {"direction": "ingress",
> "protocol": "icmp", "description": "", "port_range_max": null, "id":
> "89519aaa-22b5-4a74-8e25-8aac576cdeea", "remote_group_id": null,
> "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": null, "ethertype":
> "IPv4"}}*
> * 2016-10-20 16:18:43,208 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules> 0.087s*
> * 2016-10-20 16:18:43,208 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"security_group_rule": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "direction": "egress", "protocol":
> "icmp", "security_group_id": "18b770f2-4c50-4126-83a8-f668ef22e727"}}*
> * Response - Headers: {'status': '201', 'content-length': '363',
> 'content-location': 'http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules>', 'date': 'Thu, 20 Oct
> 2016 13:18:40 GMT', 'content-type': 'application/json; charset=UTF-8',
> 'connection': 'close', 'x-openstack-request-id':
> 'req-4e63df65-3a8b-43b6-904f-088c3324b006'}*
> * Body: {"security_group_rule": {"direction": "egress",
> "protocol": "icmp", "description": "", "port_range_max": null, "id":
> "dd846a68-c56e-4594-a4cb-45d3964a7f07", "remote_group_id": null,
> "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": null, "ethertype":
> "IPv4"}}*
> * 2016-10-20 16:18:43,296 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules> 0.087s*
> * 2016-10-20 16:18:43,296 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'*
> *}*
> * Body: {"security_group_rule": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "direction": "ingress",
> "security_group_id": "18b770f2-4c50-4126-83a8-f668ef22e727", "protocol":*
> *"icmp", "ethertype": "IPv6"}}*
> * Response - Headers: {'status': '201', 'content-length': '364',
> 'content-location': 'http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules>', 'date': 'Thu, 20 Oct
> 2016 13:18:40 GMT', 'cont*
> *ent-type': 'application/json; charset=UTF-8', 'connection': 'close',
> 'x-openstack-request-id': 'req-f587cb56-1603-40cd-8e5b-896eb2aa9030'}*
> * Body: {"security_group_rule": {"direction": "ingress",
> "protocol": "icmp", "description": "", "port_range_max": null, "id":
> "29b49017-878d-4a13-bfbf-82936cf4df00", "remote_group_id": null,
> "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": null, "ethertype":
> "IPv6"}}*
> * 2016-10-20 16:18:43,388 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules> 0.091s*
> * 2016-10-20 16:18:43,389 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"security_group_rule": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "direction": "egress",
> "security_group_id": "18b770f2-4c50-4126-83a8-f668ef22e727", "protocol":
> "icmp", "ethertype": "IPv6"}}*
> * Response - Headers: {'status': '201', 'content-length': '363',
> 'content-location': 'http://10.0.43.14:9696/v2.0/security-group-rules
> <http://10.0.43.14:9696/v2.0/security-group-rules>', 'date': 'Thu, 20 Oct
> 2016 13:18:40 GMT', 'content-type': 'application/json; charset=UTF-8',
> 'connection': 'close', 'x-openstack-request-id':
> 'req-70173b7b-b74d-4d88-8d06-f1cdb24f6b81'}*
> * Body: {"security_group_rule": {"direction": "egress",
> "protocol": "icmp", "description": "", "port_range_max": null, "id":
> "76e53a1e-70f1-42cb-9a07-ec2dd11ac183", "remote_group_id": null,
> "remote_ip_prefix": null, "security_group_id":
> "18b770f2-4c50-4126-83a8-f668ef22e727", "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "port_range_min": null, "ethertype":
> "IPv6"}}*
> * 2016-10-20 16:18:43,508 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/networks
> <http://10.0.43.14:9696/v2.0/networks> 0.119s*
> * 2016-10-20 16:18:43,508 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"network": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "name":
> "tempest-network-smoke--586586621"}}*
> * Response - Headers: {'status': '201', 'content-length': '516',
> 'content-location': 'http://10.0.43.14:9696/v2.0/networks
> <http://10.0.43.14:9696/v2.0/networks>', 'date': 'Thu, 20 Oct 2016 13:18:40
> GMT', 'content-type': 'application/json; charset=UTF-8', 'connection':
> 'close', 'x-openstack-request-id':
> 'req-e76fcfef-1099-43fb-8899-436f88b18898'}*
> * Body: {"network": {"status": "ACTIVE", "router:external":
> false, "availability_zone_hints": [], "availability_zones": [],
> "description": "", "subnets": [], "shared": false, "tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "created_at": "2016-10-20T13:18:40",
> "tags": [], "updated_at": "2016-10-20T13:18:40", "ipv6_address_scope":
> null, "admin_state_up": true, "ipv4_address_scope": null,
> "port_security_enabled": true, "mtu": 1450, "id":
> "d40005d6-f34d-440a-a87c-0af4da22a8e7", "name":
> "tempest-network-smoke--586586621"}}*
> * 2016-10-20 16:18:43,570 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 201 POST http://10.0.43.14:9696/v2.0/routers
> <http://10.0.43.14:9696/v2.0/routers> 0.061s*
> * 2016-10-20 16:18:43,570 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"router": {"tenant_id":
> "f8cb09dd19094615befd6cc27553c5d6", "name":
> "tempest-router-smoke-977374521", "admin_state_up": true}}*
> * Response - Headers: {'status': '201', 'content-length': '257',
> 'content-location': 'http://10.0.43.14:9696/v2.0/routers
> <http://10.0.43.14:9696/v2.0/routers>', 'date': 'Thu, 20 Oct 2016 13:18:40
> GMT', 'content-type': 'application/json; charset=UTF-8', 'connection':
> 'close', 'x-openstack-request-id':
> 'req-d109827a-c9e2-4d5e-94f1-9cb25091ce0d'}*
> * Body: {"router": {"status": "ACTIVE",
> "external_gateway_info": null, "name": "tempest-router-smoke-977374521",
> "admin_state_up": true, "tenant_id": "f8cb09dd19094615befd6cc27553c5d6",
> "routes": [], "id": "9e13f876-cf1e-4696-859a-7f83c882082e", "description":
> ""}}*
> * 2016-10-20 16:18:43,596 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:test_connectivity_between_vms_on_different_networks):
> 400 PUT
> http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e
> <http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e>
> 0.025s*
> * 2016-10-20 16:18:43,596 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: {"router": {"external_gateway_info": {"network_id":
> "c92a2381-87fa-404b-.145-187aaadc6e2c"}}}*
> * Response - Headers: {'status': '400', 'content-length': '181',
> 'content-location':
> 'http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e
> <http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e>',
> 'date': 'Thu, 20 Oct 2016 13:18:40 GMT', 'content-type': 'application/json;
> charset=UTF-8', 'connection': 'close', 'x-openstack-request-id':
> 'req-b889527f-2de8-4ed4-888c-08125015509f'}*
> * Body: {"NeutronError": {"message": "Invalid input for
> external_gateway_info. Reason: 'c92a2381-87fa-404b-.145-187aaadc6e2c' is
> not a valid UUID.", "type": "HTTPBadRequest", "detail": ""}}*
> * 2016-10-20 16:18:43,762 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:_run_cleanups): 204 DELETE
> http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e
> <http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e>
> 0.164s*
> * 2016-10-20 16:18:43,763 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: None*
> * Response - Headers: {'status': '204', 'content-length': '0',
> 'content-location':
> 'http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e
> <http://10.0.43.14:9696/v2.0/routers/9e13f876-cf1e-4696-859a-7f83c882082e>',
> 'date': 'Thu, 20 Oct 2016 13:18:41 GMT', 'connection': 'close',
> 'x-openstack-request-id': 'req-23785a7b-eda2-4ebc-b710-2f6055827090'}*
> * Body:*
> * 2016-10-20 16:18:43,956 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:_run_cleanups): 204 DELETE
> http://10.0.43.14:9696/v2.0/networks/d40005d6-f34d-440a-a87c-0af4da22a8e7
> <http://10.0.43.14:9696/v2.0/networks/d40005d6-f34d-440a-a87c-0af4da22a8e7>
> 0.193s*
> * 2016-10-20 16:18:43,956 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: None*
> * Response - Headers: {'status': '204', 'content-length': '0',
> 'content-location':
> 'http://10.0.43.14:9696/v2.0/networks/d40005d6-f34d-440a-a87c-0af4da22a8e7
> <http://10.0.43.14:9696/v2.0/networks/d40005d6-f34d-440a-a87c-0af4da22a8e7>',
> 'date': 'Thu, 20 Oct 2016 13:18:41 GMT', 'connection': 'close',
> 'x-openstack-request-id': 'req-03861aea-7a60-4703-9c40-97055c73aeeb'}*
> * Body:*
> * 2016-10-20 16:18:44,048 12084 INFO
> [tempest.lib.common.rest_client] Request
> (TestNetworkBasicOps:_run_cleanups): 204 DELETE
> http://10.0.43.14:9696/v2.0/security-groups/18b770f2-4c50-4126-83a8-f668ef22e727
> <http://10.0.43.14:9696/v2.0/security-groups/18b770f2-4c50-4126-83a8-f668ef22e727>
> 0.091s*
> * 2016-10-20 16:18:44,048 12084 DEBUG
> [tempest.lib.common.rest_client] Request - Headers: {'Content-Type':
> 'application/json', 'Accept': 'application/json', 'X-Auth-Token':
> '<omitted>'}*
> * Body: None*
> * Response - Headers: {'status': '204', 'content-length': '0',
> 'content-location':
> 'http://10.0.43.14:9696/v2.0/security-groups/18b770f2-4c50-4126-83a8-f668ef22e727
> <http://10.0.43.14:9696/v2.0/security-groups/18b770f2-4c50-4126-83a8-f668ef22e727>',
> 'date': 'Thu, 20 Oct 2016 13:18:41 GMT', 'connection': 'close',
> 'x-openstack-request-id': 'req-49aeb4af-4024-4785-baeb-072fc6f2712b'}*
> * Body:*
>
>
> *Captured traceback:*
> *~~~~~~~~~~~~~~~~~~~*
> * Traceback (most recent call last):*
> * File "tempest/test.py", line 106, in wrapper*
> * return f(self, *func_args, **func_kwargs)*
> * File "tempest/scenario/test_network_basic_ops.py", line 445, in
> test_connectivity_between_vms_on_different_networks*
> * self._setup_network_and_servers()*
> * File "tempest/scenario/test_network_basic_ops.py", line 110, in
> _setup_network_and_servers*
> * self.network, self.subnet, self.router =
> self.create_networks(**kwargs)*
> * File "tempest/scenario/manager.py", line 1230, in create_networks*
> * tenant_id=tenant_id)*
> * File "tempest/scenario/manager.py", line 1171, in _get_router*
> * router = client.update_router(router['id'], **kwargs)['router']*
> * File "tempest/lib/services/network/routers_client.py", line 36, in
> update_router*
> * return self.update_resource(uri, update_body)*
> * File "tempest/lib/services/network/base.py", line 72, in
> update_resource*
> * resp, body = self.put(req_uri, req_post_data)*
> * File "tempest/lib/common/rest_client.py", line 337, in put*
> * return self.request('PUT', url, extra_headers, headers, body,
> chunked)*
> * File "tempest/lib/common/rest_client.py", line 667, in request*
> * resp, resp_body)*
> * File "tempest/lib/common/rest_client.py", line 770, in
> _error_checker*
> * raise exceptions.BadRequest(resp_body, resp=resp)*
> * tempest.lib.exceptions.BadRequest: Bad request*
> * Details: {u'message': u"Invalid input for external_gateway_info.
> Reason: 'c92a2381-87fa-404b-.145-187aaadc6e2c' is not a valid UUID.",
> u'type': u'HTTPBadRequest', u'detail': u''}*
>
>
>
> *======*
> *Totals*
> *======*
> *Ran: 1 tests in 4.0000 sec.*
> * - Passed: 0*
> * - Skipped: 0*
> * - Expected Fail: 0*
> * - Unexpected Success: 0*
> * - Failed: 1*
> *Sum of execute time for each test: 1.4394 sec.*
> *==============*
> *Worker Balance*
> *==============*
> * - Worker 0 (1 tests) => 0:00:01.439351*
>
> *No tests were successful during the run*
>
> *Slowest Tests:*
>
> *Test id
>
> Runtime (s)*
> *------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> -----------*
> *tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_networks[compute,id-1546850e-fbaa-42f5-8b5f-03d8a6a95f15,network]
> 1.439*
>
>
> *The successful run's output:*
> *root at devstack-auto2-d1:/opt/stack/tempest# ostestr --regex
> '(?!.*\[.*\bslow\b.*\])('tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_networks')'*
> *running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \*
> *OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \*
> *OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \*
> *OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \*
> *${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./}
> ${OS_TEST_PATH:-./tempest/test_discover} --list*
> *running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \*
> *OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \*
> *OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \*
> *OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \*
> *${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./}
> ${OS_TEST_PATH:-./tempest/test_discover} --load-list /tmp/tmpCG6xjD*
> *{0}
> tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_networks
> [35.492882s] ... ok*
>
> *======*
> *Totals*
> *======*
> *Ran: 1 tests in 39.0000 sec.*
> * - Passed: 1*
> * - Skipped: 0*
> * - Expected Fail: 0*
> * - Unexpected Success: 0*
> * - Failed: 0*
> *Sum of execute time for each test: 35.4929 sec.*
>
> *==============*
> *Worker Balance*
> *==============*
> * - Worker 0 (1 tests) => 0:00:35.492882*
>
> *Slowest Tests:*
>
> *Test id
>
> Runtime (s)*
> *------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> -----------*
> *tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_connectivity_between_vms_on_different_networks[compute,id-1546850e-fbaa-42f5-8b5f-03d8a6a95f15,network]
> 35.493*
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
--
<https://www.scality.com/backup/?utm_source=signatures&utm_medium=email&utm_campaign=backup2016>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161020/5577d6ed/attachment.html>
More information about the OpenStack-dev
mailing list