2025-07-21 14:15:20,963 - INFO - Domain Default found not creating 2025-07-21 14:15:21,268 - INFO - Project ctest-TestBGPaaSlocalAS-21219831 not found, creating it 2025-07-21 14:15:21,998 - INFO - Created Project:ctest-TestBGPaaSlocalAS-21219831, ID : 017e2c00-b10d-4112-8da0-84ee458ca22f 2025-07-21 14:15:24,140 - DEBUG - Services list from nova: [, , ] 2025-07-21 14:15:24,140 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3677-1']} 2025-07-21 14:15:24,151 - INFO - ================================================================================ 2025-07-21 14:15:24,152 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-07-21 14:15:24,152 - INFO - TEST DESCRIPTION : 1. Create a bgpaas vm. Configure same local-as on vm and contrail side. 2. Make sure BGP with vm comes up. 2025-07-21 14:15:24,328 - DEBUG - Skipping xmpp flap check 2025-07-21 14:15:24,328 - INFO - Initial checks done. Running the testcase now 2025-07-21 14:15:24,329 - INFO - 2025-07-21 14:15:25,189 - DEBUG - Response for create_network : {'network': {'id': '9bc4cf53-7d73-4772-a7d4-1055e9d65cb9', 'name': 'ctest-bgpaas_vn-89031809', 'tenant_id': '017e2c00b10d41128da084ee458ca22f', 'project_id': '017e2c00b10d41128da084ee458ca22f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-21219831', 'ctest-bgpaas_vn-89031809'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 14:15:25,376 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dfe292f-feba-444d-a25a-4dfb8650fced', 'name': '', 'tenant_id': '017e2c00b10d41128da084ee458ca22f', 'network_id': '9bc4cf53-7d73-4772-a7d4-1055e9d65cb9', 'ip_version': 4, 'cidr': '223.96.37.0/26', 'allocation_pools': [{'start': '223.96.37.2', 'end': '223.96.37.62'}], 'gateway_ip': '223.96.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.96.37.2', 'tags': [], 'project_id': '017e2c00b10d41128da084ee458ca22f'}} 2025-07-21 14:15:25,395 - INFO - Created VN ctest-bgpaas_vn-89031809 2025-07-21 14:15:25,449 - DEBUG - VN ctest-bgpaas_vn-89031809 UUID is 9bc4cf53-7d73-4772-a7d4-1055e9d65cb9 2025-07-21 14:17:06,478 - DEBUG - Installing image cirros-traffic 2025-07-21 14:17:06,479 - DEBUG - Image info {'name': 'cirros-traffic.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'cirros', 'password': 'gocubsgo', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd', 'vctmpl': 'cirros-traffic/cirros-traffic.vmtx', 'vcname': 'cirros-traffic/cirros-traffic.vmdk'} 2025-07-21 14:17:06,481 - DEBUG - Image build path file:///contrail-test/images/cirros-traffic.vmdk.gz 2025-07-21 14:17:06,481 - DEBUG - Download image from local file file:///contrail-test/images/cirros-traffic.vmdk.gz 2025-07-21 14:17:06,482 - DEBUG - Unzip image 2025-07-21 14:17:06,482 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/cirros-traffic.vmdk.gz 2025-07-21 14:17:06,515 - DEBUG - Try to create image in user context 2025-07-21 14:17:06,674 - INFO - Deleting VN ctest-bgpaas_vn-89031809 2025-07-21 14:17:06,964 - DEBUG - Response for deleting network () 2025-07-21 14:17:07,144 - ERROR -
Traceback (most recent call last):
  File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/contrail-test/serial_scripts/bgpaas/test_bgpaas_local_as.py", line 33, in test_basic_bgpaas_local_as
    ret_dict = self.config_basic(image_name='ubuntu-bird')
  File "/contrail-test/serial_scripts/bgpaas/base.py", line 44, in config_basic
    image_name='cirros-traffic')
  File "/contrail-test/common/base.py", line 281, in create_vm
    **kwargs)
  File "/contrail-test/common/base.py", line 254, in create_only_vm
    vm_obj.setUp()
  File "/contrail-test/fixtures/vm_test.py", line 188, in setUp
    self.create()
  File "/contrail-test/fixtures/vm_test.py", line 240, in create
    fixed_ips=self.fixed_ips)
  File "/contrail-test/fixtures/openstack.py", line 118, in create_vm
    return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs)
  File "/contrail-test/fixtures/nova_test.py", line 577, in create_vm
    image = self.get_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 198, in get_image
    self._install_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 338, in _install_image
    return self.copy_and_glance(build_path, image_name, params)
  File "/contrail-test/fixtures/nova_test.py", line 407, in copy_and_glance
    image_id = self.glance_h.create_image(generic_image_name, image_path_real, **params)
  File "/contrail-test/fixtures/glance_test.py", line 50, in create_image
    self.upload_image(obj['id'], filename)
  File "/contrail-test/fixtures/glance_test.py", line 54, in upload_image
    self.obj.images.upload(uuid, open(filename, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: '/contrail-test/images/cirros-traffic.vmdk'
2025-07-21 14:17:07,145 - DEBUG - Skipping xmpp flap check 2025-07-21 14:17:07,145 - INFO -
2025-07-21 14:17:07,145 - INFO - END TEST : test_basic_bgpaas_local_as : FAILED[0:01:43]
2025-07-21 14:17:07,146 - INFO - -------------------------------------------------------------------------------- 2025-07-21 14:17:08,198 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-21219831, ID : 017e2c00-b10d-4112-8da0-84ee458ca22f