2020-04-04 17:51:50,263 - 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/ZRQXQHLNF01I/cntt-opnfv-functest-vnf-latest-juju_epc-run-49 | | S3_ENDPOINT_URL | https://storage.googleapis.com | | DEPLOY_SCENARIO | os-nosdn-nofeature-ha | | BUILD_TAG | ZRQXQHLNF01I | | DEBUG | false | | 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/ZRQXQHLNF01I/cntt-opnfv-functest-vnf-latest-juju_epc-run-49 | | NODE_NAME | intel-pod15 | +-------------------------+-----------------------------------------------------------------------------------------------------+ 2020-04-04 17:51:50,267 - 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-04-04 17:51:50,267 - xtesting.ci.run_tests - DEBUG - Test args: juju_epc 2020-04-04 17:51:50,280 - xtesting.ci.run_tests - INFO - Loading test case 'juju_epc'... 2020-04-04 17:51:51,002 - functest.core.tenantnetwork - DEBUG - password: *biYD2[WmunqsP,L)Dt= 2020-04-04 17:51:51,176 - functest.core.tenantnetwork - DEBUG - project: Munch({'is_enabled': True, 'is_domain': False, 'description': u'Created by OPNFV Functest: juju_epc', 'enabled': True, 'id': u'5818c9f0240f435cbf4da3b5d512ae1a', '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_b61f71b8-48ca-450f-aab7-48617f544ca4'}) 2020-04-04 17:51:51,496 - functest.core.tenantnetwork - DEBUG - user: Munch({'username': None, 'description': None, 'enabled': True, 'id': u'0342487b9d584c39b3bafbd16aaf8971', 'email': None, 'default_project_id': None, 'domain_id': u'default', 'name': u'juju_epc-user_b61f71b8-48ca-450f-aab7-48617f544ca4'}) 2020-04-04 17:51:52,774 - functest.core.tenantnetwork - DEBUG - cloud_config {'clouds': {'envvars': {u'auth_type': u'password', u'status': u'active', 'project_name': u'juju_epc-project_b61f71b8-48ca-450f-aab7-48617f544ca4', 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': '*biYD2[WmunqsP,L)Dt=', u'workflow_api_version': u'2', 'verify': True, u'identity_api_version': '3', u'volume_api_version': u'2', 'username': u'juju_epc-user_b61f71b8-48ca-450f-aab7-48617f544ca4', 'project_id': u'5818c9f0240f435cbf4da3b5d512ae1a', '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-04-04 17:51:52,778 - functest.core.tenantnetwork - DEBUG - new cloud {'username': u'juju_epc-user_b61f71b8-48ca-450f-aab7-48617f544ca4', 'password': '*biYD2[WmunqsP,L)Dt=', 'project_name': 'juju_epc-project_b61f71b8-48ca-450f-aab7-48617f544ca4', 'user_domain_name': 'default', 'auth_url': 'http://identity-airship.intel-pod15.opnfv.org/v3', 'project_id': '5818c9f0240f435cbf4da3b5d512ae1a', 'project_domain_name': 'default'} 2020-04-04 17:51:52,853 - 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-04-04 17:51:52,959 - xtesting.ci.run_tests - INFO - Running test case 'juju_epc'... 2020-04-04 17:51:53,574 - 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-04-04T17:51:53Z', u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'mtu': 1450, u'id': u'8a1ca931-7966-4c33-9b4b-5ff233563e44', u'provider:segmentation_id': 61, u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-net_b61f71b8-48ca-450f-aab7-48617f544ca4', u'admin_state_up': True, u'tenant_id': u'5818c9f0240f435cbf4da3b5d512ae1a', u'created_at': u'2020-04-04T17:51:53Z', u'provider:network_type': u'vxlan', u'ipv4_address_scope': None, u'shared': False, u'project_id': u'5818c9f0240f435cbf4da3b5d512ae1a'}) 2020-04-04 17:51:54,942 - functest.core.tenantnetwork - DEBUG - subnet: Munch({u'description': u'', u'tags': [], u'updated_at': u'2020-04-04T17:51:54Z', 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'c911cb9d-e0c0-4f85-92f5-637e94396816', u'subnetpool_id': None, u'service_types': [], u'name': u'juju_epc-subnet_b61f71b8-48ca-450f-aab7-48617f544ca4', u'enable_dhcp': True, u'network_id': u'8a1ca931-7966-4c33-9b4b-5ff233563e44', u'tenant_id': u'5818c9f0240f435cbf4da3b5d512ae1a', u'created_at': u'2020-04-04T17:51:54Z', u'dns_nameservers': [u'8.8.8.8'], u'gateway_ip': u'192.168.120.1', u'ip_version': 4, u'project_id': u'5818c9f0240f435cbf4da3b5d512ae1a'}) 2020-04-04 17:52:05,801 - functest.core.tenantnetwork - DEBUG - router: Munch({u'status': u'ACTIVE', u'description': u'', u'tags': [], u'updated_at': u'2020-04-04T17:51:59Z', u'revision_number': 6, u'id': u'4c33cb7b-baf8-48d1-8205-5848c4860965', u'external_gateway_info': {u'network_id': u'8dd523d4-1568-4a3a-a6a7-f7831869eab7', u'enable_snat': True, u'external_fixed_ips': [{u'subnet_id': u'99f661e5-a12c-4ea9-af01-5cd85e039c24', u'ip_address': u'10.10.155.31'}]}, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-router_b61f71b8-48ca-450f-aab7-48617f544ca4', u'admin_state_up': True, u'tenant_id': u'5818c9f0240f435cbf4da3b5d512ae1a', u'created_at': u'2020-04-04T17:51:58Z', u'flavor_id': None, u'routes': [], u'project_id': u'5818c9f0240f435cbf4da3b5d512ae1a'}) 2020-04-04 17:52:16,406 - functest.core.singlevm - DEBUG - image: Munch({'container_format': u'bare', 'min_ram': 0, 'locations': [], 'file': u'/v2/images/03f56d5c-9279-4032-bf57-67adcd4ec4bd/file', 'owner': u'5818c9f0240f435cbf4da3b5d512ae1a', 'id': u'03f56d5c-9279-4032-bf57-67adcd4ec4bd', 'size': 296943616, u'self': u'/v2/images/03f56d5c-9279-4032-bf57-67adcd4ec4bd', 'disk_format': u'qcow2', 'protected': False, 'location': Munch({'project': Munch({'domain_id': None, 'id': u'5818c9f0240f435cbf4da3b5d512ae1a', 'name': 'juju_epc-project_b61f71b8-48ca-450f-aab7-48617f544ca4', '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-04-04T17:52:16Z', 'tags': [], 'visibility': u'private', 'updated_at': u'2020-04-04T17:52:16Z', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'owner_specified.shade.object': u'images/juju_epc-img_b61f71b8-48ca-450f-aab7-48617f544ca4', 'min_disk': 0, 'is_public': False, 'virtual_size': 0, u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', 'properties': {u'self': u'/v2/images/03f56d5c-9279-4032-bf57-67adcd4ec4bd', u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', u'owner_specified.shade.object': u'images/juju_epc-img_b61f71b8-48ca-450f-aab7-48617f544ca4', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'schema': u'/v2/schemas/image'}, 'name': u'juju_epc-img_b61f71b8-48ca-450f-aab7-48617f544ca4', 'created': u'2020-04-04T17:52:10Z', 'checksum': u'add25af2b3469403d51aff8cad79e7b3', 'created_at': u'2020-04-04T17:52:10Z', 'minDisk': 0, 'is_protected': False, 'metadata': {u'self': u'/v2/images/03f56d5c-9279-4032-bf57-67adcd4ec4bd', u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', u'owner_specified.shade.object': u'images/juju_epc-img_b61f71b8-48ca-450f-aab7-48617f544ca4', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'schema': u'/v2/schemas/image'}}) 2020-04-04 17:52:18,152 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju metadata generate-image -d /root -i 03f56d5c-9279-4032-bf57-67adcd4ec4bd -s xenial -r intel-pod15 -u http://identity-airship.intel-pod15.opnfv.org/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-04-04 17:52:18,543 - functest.core.singlevm - DEBUG - flavor: Munch({'name': u'juju_epc-flavor_b61f71b8-48ca-450f-aab7-48617f544ca4', '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'c5a5345a3cd44c33a4b1cc033500c9fa', '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'480867aa-8c97-434e-a1c5-874f53b7d751', 'swap': 0}) 2020-04-04 17:52:18,601 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Additional pre-configuration steps 2020-04-04 17:52:18,602 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - ENV: +--------------------------------------+----------------------------------------------------------+ | ENV VAR | VALUE | +--------------------------------------+----------------------------------------------------------+ | SDN_CONTROLLER_RESTCONFPORT | 8181 | | SDN_CONTROLLER_WEBPORT | 8080 | | BUILD_TAG | ZRQXQHLNF01I | | 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 | false | | 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-04-04 17:52:18,609 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Cloud for Abot-epc ..... 2020-04-04 17:52:18,808 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju add-cloud abot-epc -f /home/opnfv/functest/results/juju_epc/clouds.yaml --replace 2020-04-04 17:52:18,808 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Credentials for Abot-epc ..... 2020-04-04 17:52:19,011 - 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-04-04 17:52:19,014 - xtesting.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | juju_epc | functest | 00:26 | FAIL | +-------------------+------------------+------------------+----------------+ 2020-04-04 17:52:19,206 - 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-04-04 17:52:35,160 - xtesting.core.testcase - DEBUG - Publishing /home/opnfv/functest/results/functest.log ('text/plain', None)