2020-03-11 01:07:03,575 - 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/cntt/XNUGFR4O242A/cntt-opnfv-functest-vnf-latest-juju_epc-run-23 | | S3_ENDPOINT_URL | https://storage.googleapis.com | | DEPLOY_SCENARIO | os-nosdn-nofeature-ha | | BUILD_TAG | XNUGFR4O242A | | DEBUG | true | | INSTALLER_TYPE | cntt | | CI_LOOP | daily | | TEST_DB_URL | http://testresults.opnfv.org/test/api/v1/results | | HTTP_DST_URL | http://artifacts.opnfv.org/cntt/XNUGFR4O242A/cntt-opnfv-functest-vnf-latest-juju_epc-run-23 | | NODE_NAME | intel-pod15 | +-------------------------+-----------------------------------------------------------------------------------------------------+ 2020-03-11 01:07:03,580 - xtesting.ci.run_tests - INFO - Sourcing env file /var/lib/xtesting/conf/env_file export OS_AUTH_URL=http://identity-airship.intel-pod15.opnfv.org/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-pod15 2020-03-11 01:07:03,580 - xtesting.ci.run_tests - DEBUG - Test args: juju_epc 2020-03-11 01:07:03,589 - xtesting.ci.run_tests - INFO - Loading test case 'juju_epc'... 2020-03-11 01:07:04,224 - functest.core.tenantnetwork - DEBUG - password: |>py*4ZZ.!7g9W00X_}(Or=0<,9r]^ 2020-03-11 01:07:04,365 - functest.core.tenantnetwork - DEBUG - project: Munch({'is_enabled': True, 'is_domain': False, 'description': u'Created by OPNFV Functest: juju_epc', 'enabled': True, 'id': u'4ad3962776df44fb8a5e12805d6c649a', '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_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa'}) 2020-03-11 01:07:04,510 - functest.core.tenantnetwork - DEBUG - user: Munch({'username': None, 'description': None, 'enabled': True, 'id': u'1c3b1a27a2434f91b959a6657c807a9c', 'email': None, 'default_project_id': None, 'domain_id': u'default', 'name': u'juju_epc-user_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa'}) 2020-03-11 01:07:04,900 - functest.core.tenantnetwork - DEBUG - cloud_config {'clouds': {'envvars': {u'auth_type': u'password', u'status': u'active', 'project_name': u'juju_epc-project_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', 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-pod15', u'key_manager_api_version': u'v1', 'password': '|>py*4ZZ.!7g9W00X_}(Or=0<,9r]^', u'workflow_api_version': u'2', 'verify': True, u'identity_api_version': '3', u'volume_api_version': u'2', 'username': u'juju_epc-user_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', 'project_id': u'4ad3962776df44fb8a5e12805d6c649a', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', 'auth_url': 'http://identity-airship.intel-pod15.opnfv.org/v3', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': 'public', u'disable_vendor_agent': {}}}} 2020-03-11 01:07:04,904 - functest.core.tenantnetwork - DEBUG - new cloud {'username': u'juju_epc-user_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', 'password': '|>py*4ZZ.!7g9W00X_}(Or=0<,9r]^', 'project_name': 'juju_epc-project_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', 'user_domain_name': 'default', 'auth_url': 'http://identity-airship.intel-pod15.opnfv.org/v3', 'project_id': '4ad3962776df44fb8a5e12805d6c649a', 'project_domain_name': 'default'} 2020-03-11 01:07:04,979 - 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'}}} 2020-03-11 01:07:05,089 - xtesting.ci.run_tests - INFO - Running test case 'juju_epc'... 2020-03-11 01:07:05,552 - 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'2020-03-11T01:07:05Z', u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'mtu': 1450, u'id': u'65027b2f-5238-4ce6-8226-92b3abc1011f', u'provider:segmentation_id': 58, u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-net_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', u'admin_state_up': True, u'tenant_id': u'4ad3962776df44fb8a5e12805d6c649a', u'created_at': u'2020-03-11T01:07:05Z', u'provider:network_type': u'vxlan', u'ipv4_address_scope': None, u'shared': False, u'project_id': u'4ad3962776df44fb8a5e12805d6c649a'}) 2020-03-11 01:07:07,284 - functest.core.tenantnetwork - DEBUG - subnet: Munch({u'description': u'', u'tags': [], u'updated_at': u'2020-03-11T01:07:06Z', 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'eba617b3-b21c-483a-936c-50926cf8b833', u'subnetpool_id': None, u'service_types': [], u'name': u'juju_epc-subnet_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', u'enable_dhcp': True, u'network_id': u'65027b2f-5238-4ce6-8226-92b3abc1011f', u'tenant_id': u'4ad3962776df44fb8a5e12805d6c649a', u'created_at': u'2020-03-11T01:07:06Z', u'dns_nameservers': [u'8.8.8.8'], u'gateway_ip': u'192.168.120.1', u'ip_version': 4, u'project_id': u'4ad3962776df44fb8a5e12805d6c649a'}) 2020-03-11 01:07:16,939 - functest.core.tenantnetwork - DEBUG - router: Munch({u'status': u'ACTIVE', u'description': u'', u'tags': [], u'updated_at': u'2020-03-11T01:07:11Z', u'revision_number': 6, u'id': u'3754badc-8fe7-4bee-a3e4-e4ada9920205', u'external_gateway_info': {u'network_id': u'b9d94c19-aa08-4787-9c4b-31e991ff69f5', u'enable_snat': True, u'external_fixed_ips': [{u'subnet_id': u'e33e7a9c-ca61-4a41-a387-6dc7cbe83405', u'ip_address': u'10.10.155.35'}]}, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-router_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', u'admin_state_up': True, u'tenant_id': u'4ad3962776df44fb8a5e12805d6c649a', u'created_at': u'2020-03-11T01:07:10Z', u'flavor_id': None, u'routes': [], u'project_id': u'4ad3962776df44fb8a5e12805d6c649a'}) 2020-03-11 01:07:27,767 - functest.core.singlevm - DEBUG - image: Munch({'container_format': u'bare', 'min_ram': 0, 'locations': [], 'file': u'/v2/images/7e1c2dba-5ac6-44b0-b291-5fc686798e24/file', 'owner': u'4ad3962776df44fb8a5e12805d6c649a', 'id': u'7e1c2dba-5ac6-44b0-b291-5fc686798e24', 'size': 296943616, u'self': u'/v2/images/7e1c2dba-5ac6-44b0-b291-5fc686798e24', 'disk_format': u'qcow2', 'protected': False, 'location': Munch({'project': Munch({'domain_id': None, 'id': u'4ad3962776df44fb8a5e12805d6c649a', 'name': 'juju_epc-project_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', 'domain_name': 'default'}), 'zone': None, 'region_name': 'intel-pod15', 'cloud': 'envvars'}), 'minRam': 0, 'direct_url': None, u'schema': u'/v2/schemas/image', 'status': u'active', 'updated': u'2020-03-11T01:07:27Z', 'tags': [], 'visibility': u'private', 'updated_at': u'2020-03-11T01:07:27Z', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'owner_specified.shade.object': u'images/juju_epc-img_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', 'min_disk': 0, 'is_public': False, 'virtual_size': 0, u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', 'properties': {u'self': u'/v2/images/7e1c2dba-5ac6-44b0-b291-5fc686798e24', u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', u'owner_specified.shade.object': u'images/juju_epc-img_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'schema': u'/v2/schemas/image'}, 'name': u'juju_epc-img_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', 'created': u'2020-03-11T01:07:21Z', 'checksum': u'add25af2b3469403d51aff8cad79e7b3', 'created_at': u'2020-03-11T01:07:21Z', 'minDisk': 0, 'is_protected': False, 'metadata': {u'self': u'/v2/images/7e1c2dba-5ac6-44b0-b291-5fc686798e24', u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', u'owner_specified.shade.object': u'images/juju_epc-img_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'schema': u'/v2/schemas/image'}}) 2020-03-11 01:07:29,818 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju metadata generate-image -d /root -i 7e1c2dba-5ac6-44b0-b291-5fc686798e24 -s xenial -r intel-pod15 -u http://identity-airship.intel-pod15.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 41 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-china/chinaeast2 - azure-china/chinanorth2 - azure/australiacentral - azure/australiacentral2 - azure/francecentral - azure/francesouth - azure/germanynorth - azure/germanywestcentral - azure/norwayeast - azure/norwaywest - azure/southafricanorth - azure/southafricawest - azure/switzerlandeast - azure/switzerlandwest - azure/uaecentral - azure/uaenorth - cloudsigma/dub - cloudsigma/fra - cloudsigma/mel - cloudsigma/mnl - cloudsigma/per - cloudsigma/ruh - cloudsigma/waw - google/asia-east2 - google/asia-northeast2 - google/asia-northeast3 - 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. 2020-03-11 01:07:30,256 - functest.core.singlevm - DEBUG - flavor: Munch({'name': u'juju_epc-flavor_6b5f7c90-5143-4ff6-a09d-b335edd9e9aa', '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'874b0dc2bed648a7bcbcb00a25d9aa6c', 'name': 'admin', 'domain_name': 'default'}), 'zone': None, 'region_name': 'intel-pod15', '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'06f04d1f-6d96-4319-a449-41b8b0ea3e15', 'swap': 0}) 2020-03-11 01:07:30,315 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Additional pre-configuration steps 2020-03-11 01:07:30,316 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - ENV: +--------------------------------------+----------------------------------------------------------+ | ENV VAR | VALUE | +--------------------------------------+----------------------------------------------------------+ | SDN_CONTROLLER_RESTCONFPORT | 8181 | | SDN_CONTROLLER_WEBPORT | 8080 | | BUILD_TAG | XNUGFR4O242A | | BLOCK_MIGRATION | False | | INSTALLER_TYPE | cntt | | 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-pod15 | | IMAGE_PROPERTIES | | | VOLUME_DEVICE_NAME | vdb | +--------------------------------------+----------------------------------------------------------+ 2020-03-11 01:07:30,327 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Cloud for Abot-epc ..... 2020-03-11 01:07:30,516 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju add-cloud abot-epc -f /home/opnfv/functest/results/juju_epc/clouds.yaml --replace 2020-03-11 01:07:30,517 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Credentials for Abot-epc ..... 2020-03-11 01:07:30,710 - functest.opnfv_tests.vnf.epc.juju_epc - ERROR - Exception on VNF testing Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/functest/opnfv_tests/vnf/epc/juju_epc.py", line 376, in run self.prepare() File "/usr/lib/python2.7/site-packages/functest/opnfv_tests/vnf/epc/juju_epc.py", line 207, in prepare self._register_credentials() File "/usr/lib/python2.7/site-packages/functest/opnfv_tests/vnf/epc/juju_epc.py", line 191, in _register_credentials output = subprocess.check_output(cmd, stderr=subprocess.STDOUT) File "/usr/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) CalledProcessError: Command '['juju', 'add-credential', 'abot-epc', '-f', u'/home/opnfv/functest/results/juju_epc/credentials.yaml', '--replace']' returned non-zero exit status 1 2020-03-11 01:07:30,712 - xtesting.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | juju_epc | functest | 00:26 | FAIL | +-------------------+------------------+------------------+----------------+ 2020-03-11 01:07:30,914 - functest.opnfv_tests.vnf.epc.juju_epc - ERROR - Exception with Juju Cleanup: ['juju', 'debug-log', '--replay', '--no-tail'] ERROR 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". 2020-03-11 01:07:47,495 - xtesting.core.testcase - DEBUG - Publishing /home/opnfv/functest/results/functest.log ('text/plain', None)