2020-04-09 03:54:28,964 - 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/R1HXLZEAJVUJ/cntt-opnfv-functest-vnf-latest-juju_epc-run-53 | | S3_ENDPOINT_URL | https://storage.googleapis.com | | DEPLOY_SCENARIO | os-nosdn-nofeature-ha | | BUILD_TAG | R1HXLZEAJVUJ | | 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/R1HXLZEAJVUJ/cntt-opnfv-functest-vnf-latest-juju_epc-run-53 | | NODE_NAME | intel-pod15 | +-------------------------+-----------------------------------------------------------------------------------------------------+ 2020-04-09 03:54:28,967 - 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-09 03:54:28,967 - xtesting.ci.run_tests - DEBUG - Test args: juju_epc 2020-04-09 03:54:28,976 - xtesting.ci.run_tests - INFO - Loading test case 'juju_epc'... 2020-04-09 03:54:29,554 - functest.core.tenantnetwork - DEBUG - password: [QLuA|d<2Whj)x6d|1WNb?pwOygfBo 2020-04-09 03:54:29,662 - functest.core.tenantnetwork - DEBUG - project: Munch({'is_enabled': True, 'is_domain': False, 'description': u'Created by OPNFV Functest: juju_epc', 'enabled': True, 'id': u'53aa6167032c44ccbe423de9a715c7af', '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_6735c2f4-5705-4f43-9628-e52000c4a0dc'}) 2020-04-09 03:54:29,745 - functest.core.tenantnetwork - DEBUG - user: Munch({'username': None, 'description': None, 'enabled': True, 'id': u'a051ea412d0d42558b60e7e97c5f6fe8', 'email': None, 'default_project_id': None, 'domain_id': u'default', 'name': u'juju_epc-user_6735c2f4-5705-4f43-9628-e52000c4a0dc'}) 2020-04-09 03:54:30,199 - functest.core.tenantnetwork - DEBUG - cloud_config {'clouds': {'envvars': {u'auth_type': u'password', u'status': u'active', 'project_name': u'juju_epc-project_6735c2f4-5705-4f43-9628-e52000c4a0dc', 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': '[QLuA|d<2Whj)x6d|1WNb?pwOygfBo', u'workflow_api_version': u'2', 'verify': True, u'identity_api_version': '3', u'volume_api_version': u'2', 'username': u'juju_epc-user_6735c2f4-5705-4f43-9628-e52000c4a0dc', 'project_id': u'53aa6167032c44ccbe423de9a715c7af', '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-09 03:54:30,203 - functest.core.tenantnetwork - DEBUG - new cloud {'username': u'juju_epc-user_6735c2f4-5705-4f43-9628-e52000c4a0dc', 'password': '[QLuA|d<2Whj)x6d|1WNb?pwOygfBo', 'project_name': 'juju_epc-project_6735c2f4-5705-4f43-9628-e52000c4a0dc', 'user_domain_name': 'default', 'auth_url': 'http://identity-airship.intel-pod15.opnfv.org/v3', 'project_id': '53aa6167032c44ccbe423de9a715c7af', 'project_domain_name': 'default'} 2020-04-09 03:54:30,274 - 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-09 03:54:30,380 - xtesting.ci.run_tests - INFO - Running test case 'juju_epc'... 2020-04-09 03:54:31,408 - 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-09T03:54:31Z', u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'mtu': 1450, u'id': u'a62c5f48-528f-463f-8b8f-1692a8618060', u'provider:segmentation_id': 87, u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-net_6735c2f4-5705-4f43-9628-e52000c4a0dc', u'admin_state_up': True, u'tenant_id': u'53aa6167032c44ccbe423de9a715c7af', u'created_at': u'2020-04-09T03:54:31Z', u'provider:network_type': u'vxlan', u'ipv4_address_scope': None, u'shared': False, u'project_id': u'53aa6167032c44ccbe423de9a715c7af'}) 2020-04-09 03:54:33,665 - functest.core.tenantnetwork - DEBUG - subnet: Munch({u'description': u'', u'tags': [], u'updated_at': u'2020-04-09T03:54:32Z', 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'f831fc2f-fd71-433d-8437-1261daca7124', u'subnetpool_id': None, u'service_types': [], u'name': u'juju_epc-subnet_6735c2f4-5705-4f43-9628-e52000c4a0dc', u'enable_dhcp': True, u'network_id': u'a62c5f48-528f-463f-8b8f-1692a8618060', u'tenant_id': u'53aa6167032c44ccbe423de9a715c7af', u'created_at': u'2020-04-09T03:54:32Z', u'dns_nameservers': [u'8.8.8.8'], u'gateway_ip': u'192.168.120.1', u'ip_version': 4, u'project_id': u'53aa6167032c44ccbe423de9a715c7af'}) 2020-04-09 03:54:43,294 - functest.core.tenantnetwork - DEBUG - router: Munch({u'status': u'ACTIVE', u'description': u'', u'tags': [], u'updated_at': u'2020-04-09T03:54:36Z', u'revision_number': 6, u'id': u'f3f0de61-676c-4f56-86cd-89cd196ba5bc', u'external_gateway_info': {u'network_id': u'e25d96d7-4474-4692-b8e2-6f7aa3f4aa62', u'enable_snat': True, u'external_fixed_ips': [{u'subnet_id': u'3fcaac4f-d6a7-4a1b-8dc0-4222cb8ddd49', u'ip_address': u'10.10.155.38'}]}, u'availability_zone_hints': [], u'availability_zones': [], u'name': u'juju_epc-router_6735c2f4-5705-4f43-9628-e52000c4a0dc', u'admin_state_up': True, u'tenant_id': u'53aa6167032c44ccbe423de9a715c7af', u'created_at': u'2020-04-09T03:54:34Z', u'flavor_id': None, u'routes': [], u'project_id': u'53aa6167032c44ccbe423de9a715c7af'}) 2020-04-09 03:54:55,018 - functest.core.singlevm - DEBUG - image: Munch({'container_format': u'bare', 'min_ram': 0, 'locations': [], 'file': u'/v2/images/c2168da3-6577-4b4b-9a71-8fae9f853c54/file', 'owner': u'53aa6167032c44ccbe423de9a715c7af', 'id': u'c2168da3-6577-4b4b-9a71-8fae9f853c54', 'size': 296943616, u'self': u'/v2/images/c2168da3-6577-4b4b-9a71-8fae9f853c54', 'disk_format': u'qcow2', 'protected': False, 'location': Munch({'project': Munch({'domain_id': None, 'id': u'53aa6167032c44ccbe423de9a715c7af', 'name': 'juju_epc-project_6735c2f4-5705-4f43-9628-e52000c4a0dc', '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-09T03:54:54Z', 'tags': [], 'visibility': u'private', 'updated_at': u'2020-04-09T03:54:54Z', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'owner_specified.shade.object': u'images/juju_epc-img_6735c2f4-5705-4f43-9628-e52000c4a0dc', 'min_disk': 0, 'is_public': False, 'virtual_size': 0, u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', 'properties': {u'self': u'/v2/images/c2168da3-6577-4b4b-9a71-8fae9f853c54', u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', u'owner_specified.shade.object': u'images/juju_epc-img_6735c2f4-5705-4f43-9628-e52000c4a0dc', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'schema': u'/v2/schemas/image'}, 'name': u'juju_epc-img_6735c2f4-5705-4f43-9628-e52000c4a0dc', 'created': u'2020-04-09T03:54:47Z', 'checksum': u'add25af2b3469403d51aff8cad79e7b3', 'created_at': u'2020-04-09T03:54:47Z', 'minDisk': 0, 'is_protected': False, 'metadata': {u'self': u'/v2/images/c2168da3-6577-4b4b-9a71-8fae9f853c54', u'owner_specified.shade.md5': u'add25af2b3469403d51aff8cad79e7b3', u'owner_specified.shade.object': u'images/juju_epc-img_6735c2f4-5705-4f43-9628-e52000c4a0dc', u'owner_specified.shade.sha256': u'3a5f89659c7afa22a834b0638c8d34a6fb05fe26b576cd3db74690e9a0acc366', u'schema': u'/v2/schemas/image'}}) 2020-04-09 03:54:56,383 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - juju metadata generate-image -d /root -i c2168da3-6577-4b4b-9a71-8fae9f853c54 -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-09 03:54:56,503 - functest.core.singlevm - DEBUG - flavor: Munch({'name': u'juju_epc-flavor_6735c2f4-5705-4f43-9628-e52000c4a0dc', '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'21be6702113840e0aea52493862bf173', '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'03825efc-8fa2-4ca3-9112-2b69d1011f55', 'swap': 0}) 2020-04-09 03:54:56,546 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Additional pre-configuration steps 2020-04-09 03:54:56,547 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - ENV: +--------------------------------------+----------------------------------------------------------+ | ENV VAR | VALUE | +--------------------------------------+----------------------------------------------------------+ | SDN_CONTROLLER_RESTCONFPORT | 8181 | | SDN_CONTROLLER_WEBPORT | 8080 | | BUILD_TAG | R1HXLZEAJVUJ | | 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-09 03:54:56,554 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Cloud for Abot-epc ..... 2020-04-09 03:54:56,767 - 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-09 03:54:56,768 - functest.opnfv_tests.vnf.epc.juju_epc - INFO - Creating Credentials for Abot-epc ..... 2020-04-09 03:54:56,964 - 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-09 03:54:56,967 - xtesting.ci.run_tests - INFO - Test result: +-------------------+------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+------------------+------------------+----------------+ | juju_epc | functest | 00:27 | FAIL | +-------------------+------------------+------------------+----------------+ 2020-04-09 03:54:57,174 - 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-09 03:55:11,928 - xtesting.core.testcase - DEBUG - Publishing /home/opnfv/functest/results/functest.log ('text/plain', None)