2020-02-14 09:55:26,909 - xtesting.ci.run_tests - INFO - Deployment description: +-------------------------+---------------------------------------------------------------------------------------------------------------------------+ | ENV VAR | VALUE | +-------------------------+---------------------------------------------------------------------------------------------------------------------------+ | CI_LOOP | daily | | DEBUG | true | | DEPLOY_SCENARIO | os-nosdn-nofeature-noha | | INSTALLER_TYPE | unknown | | BUILD_TAG | 26MWXVOO3DEH | | NODE_NAME | lf-virtual4 | | TEST_DB_URL | http://testresults.opnfv.org/test/api/v1/results | | TEST_DB_EXT_URL | | | S3_ENDPOINT_URL | https://storage.googleapis.com | | S3_DST_URL | s3://artifacts.opnfv.org/functest/26MWXVOO3DEH/functest-opnfv-functest-healthcheck-iruya-vping_userdata-run-484 | | HTTP_DST_URL | http://artifacts.opnfv.org/functest/26MWXVOO3DEH/functest-opnfv-functest-healthcheck-iruya-vping_userdata-run-484 | +-------------------------+---------------------------------------------------------------------------------------------------------------------------+ 2020-02-14 09:55:26,915 - xtesting.ci.run_tests - INFO - Sourcing env file /var/lib/xtesting/conf/env_file export OS_AUTH_URL=http://172.30.13.89/identity/v3 export OS_PROJECT_NAME="demo" export OS_USER_DOMAIN_NAME="Default" export OS_PROJECT_DOMAIN_NAME="Default" export OS_USERNAME="admin" export OS_PASSWORD="secret" export OS_REGION_NAME="RegionOne" export OS_INTERFACE=public export OS_IDENTITY_API_VERSION=3 2020-02-14 09:55:26,915 - xtesting.ci.run_tests - DEBUG - Test args: vping_userdata 2020-02-14 09:55:26,958 - xtesting.ci.run_tests - INFO - Loading test case 'vping_userdata'... 2020-02-14 09:55:27,915 - functest.core.tenantnetwork - DEBUG - password: j+6R?DH*wgglUL.CofSKc?]YUhrq1g 2020-02-14 09:55:28,051 - functest.core.tenantnetwork - DEBUG - project: Munch({'location': Munch({'cloud': 'envvars', 'region_name': None, 'zone': None, 'project': Munch({'id': 'default', 'name': None, 'domain_id': 'default', 'domain_name': None})}), 'id': '68ec8b23a14c45aca17319a7b183fe23', 'name': 'vping_userdata-project_e512cff9-bc4e-4768-80d9-993132ba5007', 'description': 'Created by OPNFV Functest: vping_userdata', 'is_enabled': True, 'is_domain': False, 'domain_id': 'default', 'properties': Munch({'tags': []}), 'enabled': True, 'parent_id': 'default', 'tags': []}) 2020-02-14 09:55:28,165 - functest.core.tenantnetwork - DEBUG - user: Munch({'id': '46da24bf6cb9494a9509bfbc03eb6c1c', 'email': None, 'name': 'vping_userdata-user_e512cff9-bc4e-4768-80d9-993132ba5007', 'username': None, 'default_project_id': None, 'domain_id': 'default', 'enabled': True, 'description': None}) 2020-02-14 09:55:28,631 - functest.core.tenantnetwork - DEBUG - cloud_config {'clouds': {'envvars': {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'application_catalog_api_version': '1', 'auth_type': 'password', 'baremetal_api_version': '1', 'container_api_version': '1', 'container_infra_api_version': '1', 'compute_api_version': '2', 'database_api_version': '1.0', 'disable_vendor_agent': {}, 'dns_api_version': '2', 'interface': 'public', 'floating_ip_source': 'neutron', 'identity_api_version': '3', 'image_api_use_tasks': False, 'image_api_version': '2', 'image_format': 'qcow2', 'key_manager_api_version': 'v1', 'message': '', 'metering_api_version': '2', 'network_api_version': '2', 'object_store_api_version': '1', 'orchestration_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'volume_api_version': '2', 'workflow_api_version': '2', 'auth_url': 'http://172.30.13.89/identity/v3', 'project_name': 'vping_userdata-project_e512cff9-bc4e-4768-80d9-993132ba5007', 'user_domain_name': 'Default', 'project_domain_name': 'Default', 'username': 'vping_userdata-user_e512cff9-bc4e-4768-80d9-993132ba5007', 'password': 'j+6R?DH*wgglUL.CofSKc?]YUhrq1g', 'region_name': 'RegionOne', 'project_id': '68ec8b23a14c45aca17319a7b183fe23'}}} 2020-02-14 09:55:28,635 - functest.core.tenantnetwork - DEBUG - new cloud {'auth_url': 'http://172.30.13.89/identity/v3', 'project_id': '68ec8b23a14c45aca17319a7b183fe23', 'project_name': 'vping_userdata-project_e512cff9-bc4e-4768-80d9-993132ba5007', 'project_domain_name': 'Default', 'username': 'vping_userdata-user_e512cff9-bc4e-4768-80d9-993132ba5007', 'user_domain_name': 'Default', 'password': 'j+6R?DH*wgglUL.CofSKc?]YUhrq1g'} 2020-02-14 09:55:28,636 - xtesting.ci.run_tests - INFO - Running test case 'vping_userdata'... 2020-02-14 09:55:29,117 - functest.core.tenantnetwork - DEBUG - network: Munch({'provider:physical_network': None, 'ipv6_address_scope': None, 'dns_domain': '', 'revision_number': 2, 'port_security_enabled': True, 'provider:network_type': 'vxlan', 'id': '34dd08e1-72d5-4fc0-ae2a-b98816cc7016', 'router:external': False, 'availability_zone_hints': [], 'availability_zones': [], 'qos_policy_id': None, 'ipv4_address_scope': None, 'shared': False, 'project_id': '68ec8b23a14c45aca17319a7b183fe23', 'l2_adjacency': True, 'status': 'ACTIVE', 'subnets': [], 'description': '', 'tags': [], 'updated_at': '2020-02-14T09:55:29Z', 'is_default': False, 'provider:segmentation_id': 36, 'name': 'vping_userdata-net_e512cff9-bc4e-4768-80d9-993132ba5007', 'admin_state_up': True, 'tenant_id': '68ec8b23a14c45aca17319a7b183fe23', 'created_at': '2020-02-14T09:55:28Z', 'mtu': 1400}) 2020-02-14 09:55:30,697 - functest.core.tenantnetwork - DEBUG - subnet: Munch({'service_types': [], 'description': '', 'enable_dhcp': True, 'tags': [], 'network_id': '34dd08e1-72d5-4fc0-ae2a-b98816cc7016', 'tenant_id': '68ec8b23a14c45aca17319a7b183fe23', 'created_at': '2020-02-14T09:55:29Z', 'dns_nameservers': ['8.8.8.8'], 'updated_at': '2020-02-14T09:55:29Z', 'gateway_ip': '192.168.120.1', 'ipv6_ra_mode': None, 'allocation_pools': [{'start': '192.168.120.2', 'end': '192.168.120.254'}], 'host_routes': [], 'revision_number': 0, 'ip_version': 4, 'ipv6_address_mode': None, 'cidr': '192.168.120.0/24', 'project_id': '68ec8b23a14c45aca17319a7b183fe23', 'id': 'e31918a4-ee61-4a20-887f-1685da37f5c2', 'subnetpool_id': None, 'name': 'vping_userdata-subnet_e512cff9-bc4e-4768-80d9-993132ba5007'}) 2020-02-14 09:55:31,926 - functest.core.tenantnetwork - DEBUG - router: Munch({'status': 'ACTIVE', 'external_gateway_info': {'network_id': '8bd21dea-ebb1-4ea1-a715-68aa29c368d7', 'enable_snat': True, 'external_fixed_ips': [{'subnet_id': '2d2f0758-ffc9-46b1-ba9d-70a0ec254c2f', 'ip_address': '172.24.4.23'}, {'subnet_id': '8f1c6ddd-047f-426e-a792-2d6a2789330f', 'ip_address': '2001:db8::2a1'}]}, 'availability_zone_hints': [], 'availability_zones': [], 'description': '', 'tags': [], 'tenant_id': '68ec8b23a14c45aca17319a7b183fe23', 'created_at': '2020-02-14T09:55:30Z', 'admin_state_up': True, 'updated_at': '2020-02-14T09:55:31Z', 'flavor_id': None, 'revision_number': 3, 'routes': [], 'project_id': '68ec8b23a14c45aca17319a7b183fe23', 'id': '3e2b8765-6d51-4165-a1ff-ec3711d66b33', 'name': 'vping_userdata-router_e512cff9-bc4e-4768-80d9-993132ba5007'}) 2020-02-14 09:55:35,536 - functest.core.singlevm - DEBUG - image: Munch({'location': Munch({'cloud': 'envvars', 'region_name': 'RegionOne', 'zone': None, 'project': Munch({'id': '68ec8b23a14c45aca17319a7b183fe23', 'name': 'vping_userdata-project_e512cff9-bc4e-4768-80d9-993132ba5007', 'domain_id': None, 'domain_name': 'Default'})}), 'created_at': '2020-02-14T09:55:35Z', 'updated_at': '2020-02-14T09:55:35Z', 'checksum': '443b7623e27ecf03dc9e01ee93f67afe', 'container_format': 'bare', 'direct_url': None, 'disk_format': 'qcow2', 'file': '/v2/images/7ba3e7da-3229-4582-94b3-7bcfa5818b1e/file', 'id': '7ba3e7da-3229-4582-94b3-7bcfa5818b1e', 'name': 'vping_userdata-img_e512cff9-bc4e-4768-80d9-993132ba5007', 'owner': '68ec8b23a14c45aca17319a7b183fe23', 'tags': [], 'status': 'active', 'min_ram': 0, 'min_disk': 0, 'size': 12716032, 'virtual_size': 0, 'is_protected': False, 'locations': [Munch({'url': 'rbd://0231a1d7-4e5c-4106-801f-c75e76f34177/images/7ba3e7da-3229-4582-94b3-7bcfa5818b1e/snap', 'metadata': Munch({})})], 'properties': {'hw_scsi_model': 'virtio-scsi', 'self': '/v2/images/7ba3e7da-3229-4582-94b3-7bcfa5818b1e', 'os_hash_algo': 'sha512', 'hw_disk_bus': 'scsi', 'schema': '/v2/schemas/image', 'owner_specified.shade.sha256': 'a8dd75ecffd4cdd96072d60c2237b448e0c8b2bc94d57f10fdbc8c481d9005b8', 'owner_specified.shade.object': 'images/vping_userdata-img_e512cff9-bc4e-4768-80d9-993132ba5007', 'owner_specified.shade.md5': '443b7623e27ecf03dc9e01ee93f67afe', 'os_hidden': False, 'os_hash_value': '6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78'}, 'is_public': False, 'visibility': 'private', 'hw_scsi_model': 'virtio-scsi', 'self': '/v2/images/7ba3e7da-3229-4582-94b3-7bcfa5818b1e', 'os_hash_algo': 'sha512', 'hw_disk_bus': 'scsi', 'schema': '/v2/schemas/image', 'owner_specified.shade.sha256': 'a8dd75ecffd4cdd96072d60c2237b448e0c8b2bc94d57f10fdbc8c481d9005b8', 'owner_specified.shade.object': 'images/vping_userdata-img_e512cff9-bc4e-4768-80d9-993132ba5007', 'owner_specified.shade.md5': '443b7623e27ecf03dc9e01ee93f67afe', 'os_hidden': False, 'os_hash_value': '6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78', 'protected': False, 'metadata': {'hw_scsi_model': 'virtio-scsi', 'self': '/v2/images/7ba3e7da-3229-4582-94b3-7bcfa5818b1e', 'os_hash_algo': 'sha512', 'hw_disk_bus': 'scsi', 'schema': '/v2/schemas/image', 'owner_specified.shade.sha256': 'a8dd75ecffd4cdd96072d60c2237b448e0c8b2bc94d57f10fdbc8c481d9005b8', 'owner_specified.shade.object': 'images/vping_userdata-img_e512cff9-bc4e-4768-80d9-993132ba5007', 'owner_specified.shade.md5': '443b7623e27ecf03dc9e01ee93f67afe', 'os_hidden': False, 'os_hash_value': '6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78'}, 'created': '2020-02-14T09:55:35Z', 'updated': '2020-02-14T09:55:35Z', 'minDisk': 0, 'minRam': 0}) 2020-02-14 09:55:35,607 - functest.core.singlevm - DEBUG - flavor: Munch({'location': Munch({'cloud': 'envvars', 'region_name': 'RegionOne', 'zone': None, 'project': Munch({'id': '25901563293149f282852cc646924a17', 'name': 'demo', 'domain_id': None, 'domain_name': 'Default'})}), 'id': '38b71834-23b9-4ec4-857a-11707acd68ce', 'name': 'vping_userdata-flavor_e512cff9-bc4e-4768-80d9-993132ba5007', 'is_public': True, 'is_disabled': False, 'ram': 512, 'vcpus': 1, 'disk': 1, 'ephemeral': 0, 'swap': 0, 'rxtx_factor': 1.0, 'properties': Munch({'OS-FLV-DISABLED:disabled': False, 'os-flavor-access:is_public': True, 'OS-FLV-EXT-DATA:ephemeral': 0}), 'extra_specs': Munch({}), 'OS-FLV-DISABLED:disabled': False, 'os-flavor-access:is_public': True, 'OS-FLV-EXT-DATA:ephemeral': 0}) 2020-02-14 09:58:37,260 - functest.opnfv_tests.openstack.vping.vping_userdata - ERROR - Unexpected error running vping_userdata Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/xtesting/ci/run_tests.py", line 171, in run_test kwargs = run_dict['args'] KeyError: 'args' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/functest/opnfv_tests/openstack/vping/vping_userdata.py", line 45, in run self.vm1 = self.boot_vm() File "/usr/lib/python3.6/site-packages/functest/core/singlevm.py", line 216, in boot_vm timeout=self.create_server_timeout, wait=True, **kwargs) File "", line 2, in create_server File "/usr/lib/python3.6/site-packages/shade/_utils.py", line 414, in func_wrapper return func(*args, **kwargs) File "/usr/lib/python3.6/site-packages/shade/openstackcloud.py", line 7008, in create_server nat_destination=nat_destination, File "/usr/lib/python3.6/site-packages/shade/openstackcloud.py", line 7030, in wait_for_server wait=self._SERVER_AGE or 2): File "/usr/lib/python3.6/site-packages/shade/_utils.py", line 77, in _iterate_timeout raise exc.OpenStackCloudTimeout(message) shade.exc.OpenStackCloudTimeout: Timeout waiting for the server to come up. 2020-02-14 09:58:37,273 - xtesting.ci.run_tests - INFO - Test result: +------------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +------------------------+------------------+------------------+----------------+ | vping_userdata | functest | 00:07 | FAIL | +------------------------+------------------+------------------+----------------+ 2020-02-14 09:58:41,488 - functest.core.tenantnetwork - ERROR - cannot clean all resources Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/functest/core/tenantnetwork.py", line 289, in clean self.cloud.delete_subnet(self.subnet.id) File "/usr/lib/python3.6/site-packages/shade/openstackcloud.py", line 8034, in delete_subnet "/subnets/{subnet_id}.json".format(subnet_id=subnet['id'])) File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 390, in delete return self.request(url, 'DELETE', **kwargs) File "/usr/lib/python3.6/site-packages/shade/_adapter.py", line 158, in request return self._munch_response(response, error_message=error_message) File "/usr/lib/python3.6/site-packages/shade/_adapter.py", line 114, in _munch_response exc.raise_from_response(response, error_message=error_message) File "/usr/lib/python3.6/site-packages/shade/exc.py", line 173, in raise_from_response raise OpenStackCloudHTTPError(msg, response=response) shade.exc.OpenStackCloudHTTPError: (409) Client Error for url: http://172.30.13.89:9696/v2.0/subnets/e31918a4-ee61-4a20-887f-1685da37f5c2.json Unable to complete operation on subnet e31918a4-ee61-4a20-887f-1685da37f5c2: One or more ports have an IP allocation from this subnet. 2020-02-14 09:58:43,691 - functest.core.singlevm - DEBUG - Cleaning security group 39d4daf5-a4dc-4c5b-87b8-5e9ab461d787 2020-02-14 09:58:43,876 - functest.core.singlevm - DEBUG - Orphan security group 39d4daf5-a4dc-4c5b-87b8-5e9ab461d787 in use 2020-02-14 09:58:43,990 - functest.core.singlevm - DEBUG - Cleaning security group b1ec4c06-6df8-4c74-990c-0eb1187902d5 2020-02-14 09:58:44,258 - functest.core.singlevm - DEBUG - Orphan security group b1ec4c06-6df8-4c74-990c-0eb1187902d5 in use 2020-02-14 09:58:45,231 - functest.core.tenantnetwork - ERROR - Cannot clean all resources Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/functest/core/tenantnetwork.py", line 132, in clean self.orig_cloud.delete_security_group(sec_id) File "/usr/lib/python3.6/site-packages/shade/openstackcloud.py", line 8341, in delete_security_group name_or_id) File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 390, in delete return self.request(url, 'DELETE', **kwargs) File "/usr/lib/python3.6/site-packages/shade/_adapter.py", line 158, in request return self._munch_response(response, error_message=error_message) File "/usr/lib/python3.6/site-packages/shade/_adapter.py", line 114, in _munch_response exc.raise_from_response(response, error_message=error_message) File "/usr/lib/python3.6/site-packages/shade/exc.py", line 173, in raise_from_response raise OpenStackCloudHTTPError(msg, response=response) shade.exc.OpenStackCloudHTTPError: Error deleting security group db07ab57-9599-4481-85b9-f5cca0c093cc. (409) Client Error for url: http://172.30.13.89:9696/v2.0/security-groups/db07ab57-9599-4481-85b9-f5cca0c093cc.json Security Group db07ab57-9599-4481-85b9-f5cca0c093cc in use. 2020-02-14 09:58:45,599 - xtesting.core.testcase - DEBUG - Publishing /home/opnfv/functest/results/functest.log ('text/plain', None)