2019-12-02 20:43:21,100 - xtesting.ci.run_tests - INFO - Deployment description: +-------------------------+----------------------------------------------------------------------------------------------+ | ENV VAR | VALUE | +-------------------------+----------------------------------------------------------------------------------------------+ | TEST_DB_EXT_URL | http://testresults.opnfv.org/test/api/v1/results | | S3_DST_URL | s3://artifacts.opnfv.org/airship/airship-opnfv-functest-vnf-latest-juju_epc-run-44 | | S3_ENDPOINT_URL | https://storage.googleapis.com | | DEPLOY_SCENARIO | os-nosdn-nofeature-ha | | BUILD_TAG | jenkins-airship-opnfv-functest-vnf-latest-juju_epc-run-44 | | DEBUG | true | | INSTALLER_TYPE | airship | | CI_LOOP | daily | | TEST_DB_URL | http://testresults.opnfv.org/test/api/v1/results | | HTTP_DST_URL | http://artifacts.opnfv.org/airship/airship-opnfv-functest-vnf-latest-juju_epc-run-44 | | NODE_NAME | intel-pod17 | +-------------------------+----------------------------------------------------------------------------------------------+ 2019-12-02 20:43:21,104 - xtesting.ci.run_tests - INFO - Sourcing env file /var/lib/xtesting/conf/env_file export OS_AUTH_URL=http://identity-airship.intel-pod17.opnfv.org:80/v3 export OS_USER_DOMAIN_NAME=default export OS_PROJECT_DOMAIN_NAME=default export OS_USERNAME=admin export OS_PROJECT_NAME=admin export OS_PASSWORD=password123 export OS_IDENTITY_API_VERSION=3 export OS_INTERFACE=public export OS_REGION_NAME=intel-pod17 2019-12-02 20:43:21,104 - xtesting.ci.run_tests - DEBUG - Test args: juju_epc 2019-12-02 20:43:21,113 - xtesting.ci.run_tests - INFO - Loading test case 'juju_epc'... 2019-12-02 20:43:21,954 - functest.core.tenantnetwork - DEBUG - password: di0Nt9C*UbWY~3i91Ltp3R]Av~jx>4 2019-12-02 20:43:22,064 - functest.core.tenantnetwork - DEBUG - project: Munch({'is_enabled': True, 'is_domain': False, 'description': u'Created by OPNFV Functest: juju_epc', 'enabled': True, 'id': u'02e3ac7163f143ecb023ab550b1fc847', 'parent_id': u'default', 'properties': Munch({}), 'location': Munch({'project': Munch({'domain_id': u'default', 'id': u'default', 'name': None, 'domain_name': None}), 'zone': None, 'region_name': None, 'cloud': 'envvars'}), 'domain_id': u'default', 'name': u'juju_epc-project_f994523c-76b2-41c4-89e0-0d8f20bd7afa'}) 2019-12-02 20:43:22,147 - functest.core.tenantnetwork - DEBUG - user: Munch({'username': None, 'description': None, 'enabled': True, 'id': u'cb6c5c59afee49e9a7354295a170e016', 'email': None, 'default_project_id': None, 'domain_id': u'default', 'name': u'juju_epc-user_f994523c-76b2-41c4-89e0-0d8f20bd7afa'}) 2019-12-02 20:43:22,533 - functest.core.tenantnetwork - DEBUG - cloud_config {'clouds': {'envvars': {u'auth_type': u'password', u'status': u'active', 'project_name': u'juju_epc-project_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'user_domain_name': 'default', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'project_domain_name': 'default', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'application_catalog_api_version': u'1', 'region_name': 'intel-pod17', u'key_manager_api_version': u'v1', 'password': 'di0Nt9C*UbWY~3i91Ltp3R]Av~jx>4', u'workflow_api_version': u'2', 'verify': True, u'identity_api_version': '3', u'volume_api_version': u'2', 'username': u'juju_epc-user_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'project_id': u'02e3ac7163f143ecb023ab550b1fc847', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', 'auth_url': 'http://identity-airship.intel-pod17.opnfv.org:80/v3', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': 'public', u'disable_vendor_agent': {}}}} 2019-12-02 20:43:22,537 - functest.core.tenantnetwork - DEBUG - new cloud {'username': u'juju_epc-user_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'password': 'di0Nt9C*UbWY~3i91Ltp3R]Av~jx>4', 'project_name': 'juju_epc-project_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'user_domain_name': 'default', 'auth_url': 'http://identity-airship.intel-pod17.opnfv.org:80/v3', 'project_id': '02e3ac7163f143ecb023ab550b1fc847', 'project_domain_name': 'default'} 2019-12-02 20:43:22,591 - functest.opnfv_tests.vnf.epc.juju_epc - DEBUG - VNF configuration: {'descriptor': {u'file_name': u'/src/epc-requirements/abot_charm/functest-abot-epc-bundle/bundle.yaml', u'version': u'1', u'name': u'abot-oai-epc'}, 'requirements': {u'flavor': {u'ram_min': 4096, u'name': u'm1.medium.juju'}}} 2019-12-02 20:43:22,705 - xtesting.ci.run_tests - INFO - Running test case 'juju_epc'... 2019-12-02 20:43:23,337 - functest.core.tenantnetwork - DEBUG - network: Munch({u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'provider:physical_network': None, u'tags': [], u'updated_at': u'2019-12-02T20:43:23Z', u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'mtu': 1450, u'id': u'6ef4b560-622c-4d36-bb32-1821a67b5aa3', u'provider:segmentation_id': 53, u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-net_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'admin_state_up': True, u'tenant_id': u'02e3ac7163f143ecb023ab550b1fc847', u'created_at': u'2019-12-02T20:43:23Z', u'provider:network_type': u'vxlan', u'ipv4_address_scope': None, u'shared': False, u'project_id': u'02e3ac7163f143ecb023ab550b1fc847'}) 2019-12-02 20:43:24,592 - functest.core.tenantnetwork - DEBUG - subnet: Munch({u'description': u'', u'tags': [], u'updated_at': u'2019-12-02T20:43:24Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.168.120.2', u'end': u'192.168.120.254'}], u'host_routes': [], u'revision_number': 2, u'ipv6_address_mode': None, u'cidr': u'192.168.120.0/24', u'id': u'ec67410f-a81c-4cac-9e5d-8bdb4f748a03', u'subnetpool_id': None, u'service_types': [], u'name': u'juju_epc-subnet_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'enable_dhcp': True, u'network_id': u'6ef4b560-622c-4d36-bb32-1821a67b5aa3', u'tenant_id': u'02e3ac7163f143ecb023ab550b1fc847', u'created_at': u'2019-12-02T20:43:24Z', u'dns_nameservers': [u'8.8.8.8'], u'gateway_ip': u'192.168.120.1', u'ip_version': 4, u'project_id': u'02e3ac7163f143ecb023ab550b1fc847'}) 2019-12-02 20:43:30,685 - functest.core.tenantnetwork - DEBUG - router: Munch({u'status': u'ACTIVE', u'description': u'', u'tags': [], u'updated_at': u'2019-12-02T20:43:26Z', u'revision_number': 6, u'id': u'22c4ea71-c1df-489c-b9bb-d4c4629c54da', u'external_gateway_info': {u'network_id': u'bd27f122-daa2-4cb4-b579-dd6a727df543', u'enable_snat': True, u'external_fixed_ips': [{u'subnet_id': u'b9f9cfcb-2bcd-4b28-9fe1-1ed6f21a1313', u'ip_address': u'10.10.175.57'}]}, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-router_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'admin_state_up': True, u'tenant_id': u'02e3ac7163f143ecb023ab550b1fc847', u'created_at': u'2019-12-02T20:43:25Z', u'flavor_id': None, u'routes': [], u'project_id': u'02e3ac7163f143ecb023ab550b1fc847'}) 2019-12-02 20:43:41,466 - functest.core.singlevm - DEBUG - image: Munch({'container_format': u'bare', 'min_ram': 0, 'locations': [], 'file': u'/v2/images/146ce595-7438-4749-aaff-28a5291071f8/file', 'owner': u'02e3ac7163f143ecb023ab550b1fc847', 'id': u'146ce595-7438-4749-aaff-28a5291071f8', 'size': 296419328, u'self': u'/v2/images/146ce595-7438-4749-aaff-28a5291071f8', 'disk_format': u'qcow2', 'protected': False, 'location': Munch({'project': Munch({'domain_id': None, 'id': u'02e3ac7163f143ecb023ab550b1fc847', 'name': 'juju_epc-project_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'domain_name': 'default'}), 'zone': None, 'region_name': 'intel-pod17', 'cloud': 'envvars'}), 'minRam': 0, 'direct_url': None, u'schema': u'/v2/schemas/image', 'status': u'active', 'updated': u'2019-12-02T20:43:41Z', 'tags': [], 'visibility': u'private', 'updated_at': u'2019-12-02T20:43:41Z', u'owner_specified.shade.sha256': u'c22e101f26c2f264f3dd46ced9518184bd662a94f291c34de04cc0e23e919cad', u'owner_specified.shade.object': u'images/juju_epc-img_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'min_disk': 0, 'is_public': False, 'virtual_size': 0, u'owner_specified.shade.md5': u'1e75a69d5ded1e21ef3543cd297dfbb7', 'properties': {u'self': u'/v2/images/146ce595-7438-4749-aaff-28a5291071f8', u'owner_specified.shade.md5': u'1e75a69d5ded1e21ef3543cd297dfbb7', u'owner_specified.shade.object': u'images/juju_epc-img_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'owner_specified.shade.sha256': u'c22e101f26c2f264f3dd46ced9518184bd662a94f291c34de04cc0e23e919cad', u'schema': u'/v2/schemas/image'}, 'name': u'juju_epc-img_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'created': u'2019-12-02T20:43:34Z', 'checksum': u'1e75a69d5ded1e21ef3543cd297dfbb7', 'created_at': u'2019-12-02T20:43:34Z', 'minDisk': 0, 'is_protected': False, 'metadata': {u'self': u'/v2/images/146ce595-7438-4749-aaff-28a5291071f8', u'owner_specified.shade.md5': u'1e75a69d5ded1e21ef3543cd297dfbb7', u'owner_specified.shade.object': u'images/juju_epc-img_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'owner_specified.shade.sha256': u'c22e101f26c2f264f3dd46ced9518184bd662a94f291c34de04cc0e23e919cad', u'schema': u'/v2/schemas/image'}}) 2019-12-02 20:43:42,913 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju metadata generate-image -d /root -i 146ce595-7438-4749-aaff-28a5291071f8 -s xenial -r intel-pod17 -u http://identity-airship.intel-pod17.opnfv.org:80/v3 Since Juju 2 is being run for the first time, downloading latest cloud information. Fetching latest public cloud list... Updated your list of public clouds with 1 cloud and 28 cloud regions added; 1 cloud attribute changed as well as 5 cloud regions deleted: added cloud: - oracle-classic added cloud region: - aws-china/cn-northwest-1 - aws-gov/us-gov-east-1 - aws/ap-east-1 - aws/ap-northeast-3 - aws/eu-north-1 - aws/me-south-1 - azure/francecentral - azure/francesouth - azure/southafricanorth - azure/southafricawest - cloudsigma/dub - cloudsigma/fra - cloudsigma/mel - cloudsigma/mnl - cloudsigma/per - cloudsigma/ruh - cloudsigma/waw - google/asia-east2 - google/asia-northeast2 - google/europe-north1 - google/europe-west4 - google/europe-west6 - google/northamerica-northeast1 - google/us-west2 - oracle/eu-frankfurt-1 - oracle/uk-london-1 - oracle/us-ashburn-1 - oracle/us-phoenix-1 changed cloud attribute: - oracle deleted cloud region: - oracle/em2 - oracle/em3 - oracle/us2 - oracle/us6 - oracle/uscom-central-1 WARNING model could not be opened: No controllers registered. Please either create a new controller using "juju bootstrap" or connect to another controller that you have been given access to using "juju register". Image metadata files have been written to: /root/images/streams/v1. For Juju to use this metadata, the files need to be put into the image metadata search path. There are 2 options: 1. For local access, use the --metadata-source parameter when bootstrapping: juju bootstrap --metadata-source /root [...] 2. For remote access, use image-metadata-url attribute for model configuration. To set it as a default for any model or for the controller model, it needs to be supplied as part of --model-default to 'juju bootstrap' command. See 'bootstrap' help for more details. For configuration for a particular model, set it as --image-metadata-url on 'juju model-config'. See 'model-config' help for more details. Regardless of where this attribute is used, it expects a reachable URL. You need to configure a http server to serve the contents of /root and set the value of image-metadata-url accordingly. 2019-12-02 20:43:43,005 - functest.core.singlevm - DEBUG - flavor: Munch({'name': u'juju_epc-flavor_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'ephemeral': 0, 'ram': 2048, 'is_disabled': False, 'properties': Munch({u'OS-FLV-DISABLED:disabled': False, u'OS-FLV-EXT-DATA:ephemeral': 0, u'os-flavor-access:is_public': True}), u'OS-FLV-DISABLED:disabled': False, 'vcpus': 1, 'extra_specs': Munch({}), 'location': Munch({'project': Munch({'domain_id': None, 'id': u'5d414a0db8c74182989ee8576c7a9d33', 'name': 'admin', 'domain_name': 'default'}), 'zone': None, 'region_name': 'intel-pod17', 'cloud': 'envvars'}), u'os-flavor-access:is_public': True, 'rxtx_factor': 1.0, 'is_public': True, u'OS-FLV-EXT-DATA:ephemeral': 0, 'disk': 10, 'id': u'314ca3c2-32ab-4046-bd80-d4af60dc83da', 'swap': 0}) 2019-12-02 20:43:43,061 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Additional pre-configuration steps 2019-12-02 20:43:43,062 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - ENV: +--------------------------------------+-------------------------------------------------------------------+ | ENV VAR | VALUE | +--------------------------------------+-------------------------------------------------------------------+ | SDN_CONTROLLER_RESTCONFPORT | 8181 | | SDN_CONTROLLER_WEBPORT | 8080 | | BUILD_TAG | jenkins-airship-opnfv-functest-vnf-latest-juju_epc-run-44 | | BLOCK_MIGRATION | False | | INSTALLER_TYPE | airship | | CI_LOOP | daily | | TEST_DB_URL | http://testresults.opnfv.org/test/api/v1/results | | USE_DYNAMIC_CREDENTIALS | True | | CLEAN_ORPHAN_SECURITY_GROUPS | True | | EXTERNAL_NETWORK | public | | SDN_CONTROLLER_USER | admin | | DEPLOY_SCENARIO | os-nosdn-nofeature-ha | | SDN_CONTROLLER_IP | | | NEW_USER_ROLE | Member | | DEBUG | true | | NAMESERVER | 8.8.8.8 | | FLAVOR_EXTRA_SPECS | | | PUBLIC_ENDPOINT_ONLY | False | | POD_ARCH | | | SKIP_DOWN_HYPERVISORS | False | | SDN_CONTROLLER_PASSWORD | admin | | NODE_NAME | intel-pod17 | | IMAGE_PROPERTIES | | | VOLUME_DEVICE_NAME | vdb | +--------------------------------------+-------------------------------------------------------------------+ 2019-12-02 20:43:43,072 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Cloud for Abot-epc ..... 2019-12-02 20:43:43,224 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju add-cloud abot-epc -f /home/opnfv/functest/results/juju_epc/clouds.yaml --replace 2019-12-02 20:43:43,225 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Credentials for Abot-epc ..... 2019-12-02 20:43:43,367 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju add-credential abot-epc -f /home/opnfv/functest/results/juju_epc/credentials.yaml --replace Credentials updated for cloud "abot-epc". 2019-12-02 20:43:50,441 - functest.core.singlevm - DEBUG - image: Munch({'container_format': u'bare', 'min_ram': 0, 'locations': [], 'file': u'/v2/images/cac55b08-975e-45b3-bbd5-b0e5a45158a9/file', 'owner': u'02e3ac7163f143ecb023ab550b1fc847', 'id': u'cac55b08-975e-45b3-bbd5-b0e5a45158a9', 'size': 263848448, u'self': u'/v2/images/cac55b08-975e-45b3-bbd5-b0e5a45158a9', 'disk_format': u'qcow2', 'protected': False, 'location': Munch({'project': Munch({'domain_id': None, 'id': u'02e3ac7163f143ecb023ab550b1fc847', 'name': 'juju_epc-project_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'domain_name': 'default'}), 'zone': None, 'region_name': 'intel-pod17', 'cloud': 'envvars'}), 'minRam': 0, 'direct_url': None, u'schema': u'/v2/schemas/image', 'status': u'active', 'updated': u'2019-12-02T20:43:50Z', 'tags': [], 'visibility': u'private', 'updated_at': u'2019-12-02T20:43:50Z', u'owner_specified.shade.sha256': u'93fe2ce68445e0e3ca98921643aa0adf8f5c948810cb88295737b0eb84db28d7', u'owner_specified.shade.object': u'images/juju_epc-img_alt_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'min_disk': 0, 'is_public': False, 'virtual_size': 0, u'owner_specified.shade.md5': u'52fc95ebfee7f3e5bb64eed425820c4a', 'properties': {u'self': u'/v2/images/cac55b08-975e-45b3-bbd5-b0e5a45158a9', u'owner_specified.shade.md5': u'52fc95ebfee7f3e5bb64eed425820c4a', u'owner_specified.shade.object': u'images/juju_epc-img_alt_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'owner_specified.shade.sha256': u'93fe2ce68445e0e3ca98921643aa0adf8f5c948810cb88295737b0eb84db28d7', u'schema': u'/v2/schemas/image'}, 'name': u'juju_epc-img_alt_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'created': u'2019-12-02T20:43:44Z', 'checksum': u'52fc95ebfee7f3e5bb64eed425820c4a', 'created_at': u'2019-12-02T20:43:44Z', 'minDisk': 0, 'is_protected': False, 'metadata': {u'self': u'/v2/images/cac55b08-975e-45b3-bbd5-b0e5a45158a9', u'owner_specified.shade.md5': u'52fc95ebfee7f3e5bb64eed425820c4a', u'owner_specified.shade.object': u'images/juju_epc-img_alt_f994523c-76b2-41c4-89e0-0d8f20bd7afa', u'owner_specified.shade.sha256': u'93fe2ce68445e0e3ca98921643aa0adf8f5c948810cb88295737b0eb84db28d7', u'schema': u'/v2/schemas/image'}}) 2019-12-02 20:43:50,663 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju metadata generate-image -d /root -i cac55b08-975e-45b3-bbd5-b0e5a45158a9 -s trusty -r intel-pod17 -u http://identity-airship.intel-pod17.opnfv.org:80/v3 WARNING model could not be opened: No controllers registered. Please either create a new controller using "juju bootstrap" or connect to another controller that you have been given access to using "juju register". Image metadata files have been written to: /root/images/streams/v1. For Juju to use this metadata, the files need to be put into the image metadata search path. There are 2 options: 1. For local access, use the --metadata-source parameter when bootstrapping: juju bootstrap --metadata-source /root [...] 2. For remote access, use image-metadata-url attribute for model configuration. To set it as a default for any model or for the controller model, it needs to be supplied as part of --model-default to 'juju bootstrap' command. See 'bootstrap' help for more details. For configuration for a particular model, set it as --image-metadata-url on 'juju model-config'. See 'model-config' help for more details. Regardless of where this attribute is used, it expects a reachable URL. You need to configure a http server to serve the contents of /root and set the value of image-metadata-url accordingly. 2019-12-02 20:43:50,749 - functest.core.singlevm - DEBUG - flavor: Munch({'name': u'juju_epc-flavor_alt_f994523c-76b2-41c4-89e0-0d8f20bd7afa', 'ephemeral': 0, 'ram': 4096, 'is_disabled': False, 'properties': Munch({u'OS-FLV-DISABLED:disabled': False, u'OS-FLV-EXT-DATA:ephemeral': 0, u'os-flavor-access:is_public': True}), u'OS-FLV-DISABLED:disabled': False, 'vcpus': 1, 'extra_specs': Munch({}), 'location': Munch({'project': Munch({'domain_id': None, 'id': u'5d414a0db8c74182989ee8576c7a9d33', 'name': 'admin', 'domain_name': 'default'}), 'zone': None, 'region_name': 'intel-pod17', 'cloud': 'envvars'}), u'os-flavor-access:is_public': True, 'rxtx_factor': 1.0, 'is_public': True, u'OS-FLV-EXT-DATA:ephemeral': 0, 'disk': 10, 'id': u'57aae9c7-54bd-4601-9131-b06209f53667', 'swap': 0}) 2019-12-02 20:43:50,812 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Starting Juju Bootstrap process... 2019-12-02 22:03:50,832 - functest.opnfv_tests.vnf.epc.juju_epc - ERROR - Exception with Juju Bootstrap: ['timeout', '4800', 'juju', 'bootstrap', 'abot-epc/intel-pod17', 'abot-controller', '--agent-version', '2.3.9', '--metadata-source', '/root', '--constraints', 'mem=2G', '--bootstrap-series', 'xenial', '--config', 'network=6ef4b560-622c-4d36-bb32-1821a67b5aa3', '--config', 'ssl-hostname-verification=false', '--config', 'external-network=bd27f122-daa2-4cb4-b579-dd6a727df543', '--config', 'use-floating-ip=true', '--config', 'use-default-secgroup=true', '--debug'] 20:43:50 INFO juju.cmd supercommand.go:56 running juju [2.3.9 gc go1.11.5] 20:43:50 DEBUG juju.cmd supercommand.go:57 args: []string{"juju", "bootstrap", "abot-epc/intel-pod17", "abot-controller", "--agent-version", "2.3.9", "--metadata-source", "/root", "--constraints", "mem=2G", "--bootstrap-series", "xenial", "--config", "network=6ef4b560-622c-4d36-bb32-1821a67b5aa3", "--config", "ssl-hostname-verification=false", "--config", "external-network=bd27f122-daa2-4cb4-b579-dd6a727df543", "--config", "use-floating-ip=true", "--config", "use-default-secgroup=true", "--debug"} 20:43:50 DEBUG juju.cmd.juju.commands bootstrap.go:835 authenticating with region "intel-pod17" and credential "abot-epc" () 20:43:50 DEBUG juju.cmd.juju.commands bootstrap.go:963 provider attrs: map[network:6ef4b560-622c-4d36-bb32-1821a67b5aa3 external-network:bd27f122-daa2-4cb4-b579-dd6a727df543 use-openstack-gbp:false policy-target-group: use-floating-ip:true use-default-secgroup:true] 20:43:51 INFO cmd authkeys.go:114 Adding contents of "/root/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys 20:43:51 DEBUG juju.cmd.juju.commands bootstrap.go:1019 preparing controller with config: map[resource-tags: image-metadata-url: transmit-vendor-metrics:true agent-metadata-url: max-action-results-age:336h use-default-secgroup:true ssl-hostname-verification:false ftp-proxy: enable-os-refresh-update:true apt-ftp-proxy: http-proxy: development:false container-networking-method: https-proxy: net-bond-reconfigure-delay:17 apt-http-proxy: image-stream:released firewall-mode:instance update-status-hook-interval:5m enable-os-upgrade:true test-mode:false disable-network-management:false max-status-history-age:336h apt-no-proxy: automatically-retry-hooks:true use-openstack-gbp:false fan-config: default-series:xenial container-inherit-properties: network:6ef4b560-622c-4d36-bb32-1821a67b5aa3 max-action-results-size:5G max-status-history-size:5G type:openstack proxy-ssh:false cloudinit-userdata: ignore-machine-addresses:false agent-stream:released container-image-metadata-url: logforward-enabled:false no-proxy:127.0.0.1,localhost,::1 uuid:ca9bdd6c-5918-41f4-8c3a-3f0d55696811 container-image-stream:released apt-mirror: logging-config: use-floating-ip:true external-network:bd27f122-daa2-4cb4-b579-dd6a727df543 authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEDDiDLq+nfPNNsp04x9kO9EARM6+YChc/hLZeSzUO2eMhT51dmOZqFGcxwXnVBxQVXVO4Vbhfd3BH9qgtzdbujPZC638N8yn17A4BAdmvEEyiC2ugo/6Ng+C4Zb2Qfaa7s1Dp2cmf10FLOcymb3pc4x6p0Fyl/AgnM47ujUN8m+Z35KvTCS1NfD7VJjqf32hnB3DPL8le4Nu/NFPOcr7JtG+0ErRHWtJfK7xgQ8wHa9pONXGWkRarE2PG6FB0V6f+ewcF545PbeAtiGxSIACECnoCSosTJL4uS9VA/Fv5UQjshsEC5w89QdKyKbVKCqFd6papAzu8DdV4CwRKcV4d juju-client-key apt-https-proxy: egress-subnets: policy-target-group: provisioner-harvest-mode:destroyed name:controller] 20:43:51 INFO juju.provider.openstack provider.go:145 opening model "controller" 20:43:51 DEBUG goose client.go:511 auth details: &{Token:gAAAAABd5XeHkauCHwAXhgwWh5IRkWmM683rQf5mm6iS2LkVxMQ3r4HQR6tOl7n-l74moEQOshVD7MRSXV7ToZVQ8LcWgYfDJmSpbn8eZ3oZNGeeoECyZw3RTanvIzwgp55G5IQKbwFRFdNXmyCDl7AzCQLsfh63ce3neD-4OIFwtAjTjc4oocA TenantId:02e3ac7163f143ecb023ab550b1fc847 UserId:cb6c5c59afee49e9a7354295a170e016 Domain: RegionServiceURLs:map[intel-pod17:map[cloudformation:http://cloudformation-airship.intel-pod17.opnfv.org:80/v1 volume:http://volume-airship.intel-pod17.opnfv.org:80/v1/02e3ac7163f143ecb023ab550b1fc847 identity:http://identity-airship.intel-pod17.opnfv.org:80/v3 volumev3:http://volume-airship.intel-pod17.opnfv.org:80/v3/02e3ac7163f143ecb023ab550b1fc847 image:http://image-airship.intel-pod17.opnfv.org:80/ object-store:http://object-store-airship.intel-pod17.opnfv.org:80/swift/v1/KEY_02e3ac7163f143ecb023ab550b1fc847 orchestration:http://orchestration-airship.intel-pod17.opnfv.org:80/v1/02e3ac7163f143ecb023ab550b1fc847 placement:http://placement-airship.intel-pod17.opnfv.org:80/ compute:http://compute-airship.intel-pod17.opnfv.org:80/v2/02e3ac7163f143ecb023ab550b1fc847 volumev2:http://volume-airship.intel-pod17.opnfv.org:80/v2/02e3ac7163f143ecb023ab550b1fc847 network:http://network-airship.intel-pod17.opnfv.org:80/]]} 20:43:51 INFO cmd bootstrap.go:508 Creating Juju controller "abot-controller" on abot-epc/intel-pod17 20:43:51 DEBUG goose apiversion.go:267 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://compute-airship.intel-pod17.opnfv.org/v2/ Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1} Links:[{Href:http://compute-airship.intel-pod17.opnfv.org/v2.1/ Rel:self}] Status:CURRENT}] 20:43:51 INFO juju.cmd.juju.commands bootstrap.go:572 combined bootstrap constraints: mem=2048M 20:43:51 DEBUG juju.environs.bootstrap bootstrap.go:199 model "controller" supports service/machine networks: true 20:43:51 DEBUG juju.environs.bootstrap bootstrap.go:201 network management by juju enabled: true 20:43:51 DEBUG juju.environs.bootstrap bootstrap.go:717 no agent directory found, using default agent metadata source: https://streams.canonical.com/juju/tools 20:43:51 DEBUG juju.environs.bootstrap bootstrap.go:742 setting default image metadata source: /root/images 20:43:51 DEBUG juju.environs imagemetadata.go:46 new user image datasource registered: bootstrap metadata 20:43:51 INFO juju.environs.bootstrap bootstrap.go:760 custom image metadata added to search path 20:43:51 INFO cmd bootstrap.go:233 Loading image metadata 20:43:51 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "bootstrap metadata" 20:43:51 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images" 20:43:51 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images" 20:43:51 DEBUG juju.environs.bootstrap bootstrap.go:608 constraints for image metadata lookup &{{{intel-pod17 http://identity-airship.intel-pod17.opnfv.org:80/v3} [genericlinux saucy win8 win81 win10 opensuseleap bionic win2012hv win2012r2 quantal win2008r2 win2012hvr2 win7 wily win2016 precise yakkety centos7 raring xenial zesty win2012 win2016nano trusty utopic vivid artful win2016hv] [amd64 i386 armhf arm64 ppc64el s390x] released}} 20:43:51 DEBUG juju.environs.bootstrap bootstrap.go:620 found 2 image metadata in bootstrap metadata 20:43:53 DEBUG juju.environs.bootstrap bootstrap.go:620 found 0 image metadata in default cloud images 20:43:54 DEBUG juju.environs.simplestreams simplestreams.go:457 skipping index "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" because of missing information: index file has no data for cloud {intel-pod17 http://identity-airship.intel-pod17.opnfv.org:80/v3} not found 20:43:54 DEBUG juju.environs.bootstrap bootstrap.go:616 ignoring image metadata in default ubuntu cloud images: index file has no data for cloud {intel-pod17 http://identity-airship.intel-pod17.opnfv.org:80/v3} not found 20:43:54 DEBUG juju.environs.bootstrap bootstrap.go:624 found 2 image metadata from all image data sources 20:43:54 INFO cmd bootstrap.go:303 Looking for packaged Juju agent version 2.3.9 for amd64 20:43:54 INFO juju.environs.bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.3.9 20:43:54 DEBUG juju.environs.tools tools.go:102 finding agent binaries in stream: "released" 20:43:54 DEBUG juju.environs.tools tools.go:104 reading agent binaries with major.minor version 2.3 20:43:54 DEBUG juju.environs.tools tools.go:112 filtering agent binaries by version: 2.3.9 20:43:54 DEBUG juju.environs.tools tools.go:115 filtering agent binaries by series: xenial 20:43:54 DEBUG juju.environs.tools tools.go:118 filtering agent binaries by architecture: amd64 20:43:54 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog" 20:43:55 DEBUG juju.environs.simplestreams simplestreams.go:683 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []} 20:43:57 INFO juju.environs.bootstrap tools.go:74 found 1 packaged agent binaries 20:43:57 INFO cmd bootstrap.go:389 Starting new instance for initial controller 20:43:58 INFO cmd bootstrap.go:151 Launching controller instance(s) on abot-epc/intel-pod17... 20:43:58 DEBUG juju.environs.instances image.go:64 instance constraints {region: intel-pod17, series: xenial, arches: [amd64], constraints: mem=2048M, storage: []} 20:43:58 DEBUG juju.environs.instances image.go:70 matching constraints {region: intel-pod17, series: xenial, arches: [amd64], constraints: mem=2048M, storage: []} against possible image metadata [{Id:146ce595-7438-4749-aaff-28a5291071f8 Arch:amd64 VirtType:}] 20:43:58 INFO juju.environs.instances image.go:106 find instance - using image with id: 146ce595-7438-4749-aaff-28a5291071f8 20:43:58 DEBUG juju.cloudconfig.instancecfg instancecfg.go:835 Setting numa ctl preference to false 20:43:58 DEBUG juju.service discovery.go:63 discovered init system "systemd" from series "xenial" 20:43:58 DEBUG juju.provider.openstack provider.go:993 openstack user data; 2490 bytes 20:43:58 DEBUG juju.provider.openstack provider.go:1005 using network id "6ef4b560-622c-4d36-bb32-1821a67b5aa3" 20:43:58 DEBUG goose apiversion.go:267 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://network-airship.intel-pod17.opnfv.org/v2.0/ Rel:self}] Status:CURRENT}] - instance "b70525ef-df36-454b-bed5-2566ddb25dec" has status BUILD, wait 10 seconds before retry, attempt 1 - instance "b70525ef-df36-454b-bed5-2566ddb25dec" has status BUILD, wait 10 seconds before retry, attempt 2 - instance "b70525ef-df36-454b-bed5-2566ddb25dec" has status BUILD, wait 10 seconds before retry, attempt 3 - instance "b70525ef-df36-454b-bed5-2566ddb25dec" has status BUILD, wait 10 seconds before retry, attempt 4 20:44:46 INFO juju.provider.openstack provider.go:1175 started instance "b70525ef-df36-454b-bed5-2566ddb25dec" 20:44:46 DEBUG juju.provider.openstack provider.go:1184 allocating public IP address for openstack node 20:44:46 DEBUG juju.provider.openstack networking.go:169 using external network "bd27f122-daa2-4cb4-b579-dd6a727df543" 20:44:48 DEBUG juju.provider.openstack networking.go:226 allocated new public IP: 10.10.175.42 20:44:48 INFO juju.provider.openstack provider.go:1189 allocated public IP 10.10.175.42 20:44:50 INFO cmd bootstrap.go:225 - b70525ef-df36-454b-bed5-2566ddb25dec (arch=amd64 mem=2G cores=1) 20:44:50 INFO juju.environs.bootstrap bootstrap.go:638 newest version: 2.3.9 20:44:50 INFO juju.environs.bootstrap bootstrap.go:653 picked bootstrap agent binary version: 2.3.9 20:44:50 INFO cmd bootstrap.go:425 Installing Juju agent on bootstrap instance 20:44:52 INFO cmd bootstrap.go:517 Fetching Juju GUI 2.15.0 20:44:52 DEBUG juju.cloudconfig.instancecfg instancecfg.go:835 Setting numa ctl preference to false Waiting for address 20:44:53 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 Attempting to connect to 10.10.175.42:22 Attempting to connect to 192.168.120.11:22 20:45:00 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: ssh: connect to host 10.10.175.42 port 22: Connection refused 20:45:03 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:45:05 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: ssh: connect to host 10.10.175.42 port 22: Connection refused 20:45:10 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: "System is booting up. See pam_nologin(8)" Connection closed by 10.10.175.42 port 22 20:45:13 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:45:16 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:45:22 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:45:23 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:45:27 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:45:32 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:45:33 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:45:38 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:45:43 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:45:43 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:45:49 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:45:53 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:45:54 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:00 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:03 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:46:05 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:10 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:13 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:46:16 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:21 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:23 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:46:27 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:32 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:33 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:46:38 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:43 DEBUG juju.provider.common bootstrap.go:564 connection attempt for 10.10.175.42 failed: /var/lib/juju/nonce.txt does not exist 20:46:43 DEBUG juju.provider.openstack provider.go:417 instance b70525ef-df36-454b-bed5-2566ddb25dec has floating IP address: 10.10.175.42 20:46:49 INFO cmd bootstrap.go:333 Connected to 10.10.175.42 20:46:49 INFO juju.cloudconfig userdatacfg_unix.go:460 Fetching agent: curl -sSfw 'agent binaries from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 --insecure -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/agent/2.3.9/juju-2.3.9-ubuntu-amd64.tgz]> 20:46:49 INFO cmd bootstrap.go:403 Running machine configuration script... sudo: unable to resolve host juju-696811-controller-0: Connection timed out 2019-12-02 22:03:50,834 - xtesting.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | juju_epc | functest | 80:28 | FAIL | +-------------------+------------------+------------------+----------------+ 2019-12-02 22:03:50,993 - functest.opnfv_tests.vnf.epc.juju_epc - ERROR - Exception with Juju Cleanup: ['juju', 'debug-log', '--replay', '--no-tail'] ERROR no API addresses 2019-12-02 22:04:01,865 - functest.core.tenantnetwork - ERROR - cannot clean all resources Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/functest/core/tenantnetwork.py", line 289, in clean self.cloud.delete_subnet(self.subnet.id) File "/usr/lib/python2.7/site-packages/shade/openstackcloud.py", line 7680, in delete_subnet "/subnets/{subnet_id}.json".format(subnet_id=subnet['id'])) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 343, in delete return self.request(url, 'DELETE', **kwargs) File "/usr/lib/python2.7/site-packages/openstack/_adapter.py", line 164, in request return _json_response(response, error_message=error_message) File "/usr/lib/python2.7/site-packages/openstack/_adapter.py", line 95, in _json_response exceptions.raise_from_response(response, error_message=error_message) File "/usr/lib/python2.7/site-packages/openstack/exceptions.py", line 229, in raise_from_response http_status=http_status, request_id=request_id ConflictException: ConflictException: 409: Client Error for url: http://network-airship.intel-pod17.opnfv.org:80/v2.0/subnets/ec67410f-a81c-4cac-9e5d-8bdb4f748a03.json, Unable to complete operation on subnet ec67410f-a81c-4cac-9e5d-8bdb4f748a03: One or more ports have an IP allocation from this subnet. 2019-12-02 22:04:03,128 - functest.core.singlevm - DEBUG - Cleaning security group 5cacdf2d-c650-4ca9-bc9f-b781490db6aa 2019-12-02 22:04:03,357 - functest.core.singlevm - DEBUG - Orphan security group 5cacdf2d-c650-4ca9-bc9f-b781490db6aa in use 2019-12-02 22:04:03,484 - functest.core.singlevm - DEBUG - Cleaning security group ae802d61-8958-435e-8f17-28a49c82dc2b 2019-12-02 22:04:03,722 - functest.core.singlevm - DEBUG - Orphan security group ae802d61-8958-435e-8f17-28a49c82dc2b in use 2019-12-02 22:04:03,813 - functest.core.singlevm - DEBUG - Cleaning security group e5058f3e-5294-4fc9-9c64-33cf2930ab18 2019-12-02 22:04:04,043 - functest.core.singlevm - DEBUG - Orphan security group e5058f3e-5294-4fc9-9c64-33cf2930ab18 in use 2019-12-02 22:04:04,083 - functest.core.singlevm - DEBUG - Cleaning security group f04ea23a-c414-4a7b-b428-95bf31a7c8aa 2019-12-02 22:04:04,306 - functest.core.singlevm - DEBUG - Orphan security group f04ea23a-c414-4a7b-b428-95bf31a7c8aa in use 2019-12-02 22:04:05,236 - functest.core.tenantnetwork - ERROR - Cannot clean all resources Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/functest/core/tenantnetwork.py", line 132, in clean self.orig_cloud.delete_security_group(sec_id) File "/usr/lib/python2.7/site-packages/shade/openstackcloud.py", line 7987, in delete_security_group name_or_id) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 343, in delete return self.request(url, 'DELETE', **kwargs) File "/usr/lib/python2.7/site-packages/openstack/_adapter.py", line 164, in request return _json_response(response, error_message=error_message) File "/usr/lib/python2.7/site-packages/openstack/_adapter.py", line 95, in _json_response exceptions.raise_from_response(response, error_message=error_message) File "/usr/lib/python2.7/site-packages/openstack/exceptions.py", line 229, in raise_from_response http_status=http_status, request_id=request_id ConflictException: Error deleting security group 177edf66-9eba-4263-a475-2f191deedb11: Client Error for url: http://network-airship.intel-pod17.opnfv.org:80/v2.0/security-groups/177edf66-9eba-4263-a475-2f191deedb11.json, Security Group 177edf66-9eba-4263-a475-2f191deedb11 in use. 2019-12-02 22:04:05,571 - xtesting.core.testcase - DEBUG - Publishing /home/opnfv/functest/results/functest.log ('text/plain', None)