2025-07-31 05:27:02,490 - INFO - Domain Default found not creating 2025-07-31 05:27:02,714 - INFO - Project ctest-TestEvpnCasesRestart-92353057 not found, creating it 2025-07-31 05:27:03,314 - INFO - Created Project:ctest-TestEvpnCasesRestart-92353057, ID : e7a9a39e-1793-46e1-9102-d132687d0978 2025-07-31 05:27:05,405 - INFO - ================================================================================ 2025-07-31 05:27:05,405 - INFO - STARTING TEST : test_with_vxlan_encap_agent_restart 2025-07-31 05:27:05,405 - INFO - TEST DESCRIPTION : Description:Test agent restart with VXLAN Encap 1. Configure VXLAN as highest priority 2. Configure 2 VM under a VN configured with l2-l3 mode 3. Send L2 traffic and verify communication between vms 4. Restart the contrail-grouter service. 5. Send L2 Traffic and verify communication between vms Pass criteria: Step 3 and 5 should pass Maintainer: chhandak@juniper.net 2025-07-31 05:27:06,750 - DEBUG - Skipping xmpp flap check 2025-07-31 05:27:06,750 - INFO - Initial checks done. Running the testcase now 2025-07-31 05:27:06,751 - INFO - 2025-07-31 05:27:06,751 - INFO - Setting new Encap before continuing 2025-07-31 05:27:06,751 - INFO - Read the existing encap priority 2025-07-31 05:27:07,373 - INFO - Created.UUID is {"global-vrouter-config": {"uuid": "d78a2b81-48b6-48e1-bebd-bba1abe63abe", "href": "http://10.0.0.61:8082/global-vrouter-config/d78a2b81-48b6-48e1-bebd-bba1abe63abe"}}. VXLAN is the highest priority encap 2025-07-31 05:27:07,426 - DEBUG - Services list from nova: [, , , ] 2025-07-31 05:27:07,426 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3732-1', 'an-jenkins-deploy-platform-ansible-os-3732-2']} 2025-07-31 05:27:07,872 - DEBUG - Response for create_network : {'network': {'id': '284a235b-8634-41d6-8125-caf9d8ede859', 'name': 'EVPN-VN1', 'tenant_id': 'e7a9a39e179346e19102d132687d0978', 'project_id': 'e7a9a39e179346e19102d132687d0978', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestEvpnCasesRestart-92353057', 'EVPN-VN1'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 05:27:08,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '12e8f9a4-6280-4fd2-8b61-93412a436080', 'name': '', 'tenant_id': 'e7a9a39e179346e19102d132687d0978', 'network_id': '284a235b-8634-41d6-8125-caf9d8ede859', 'ip_version': 4, 'cidr': '11.1.1.0/24', 'allocation_pools': [{'start': '11.1.1.2', 'end': '11.1.1.254'}], 'gateway_ip': '11.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.1.1.2', 'tags': [], 'project_id': 'e7a9a39e179346e19102d132687d0978'}} 2025-07-31 05:27:08,242 - INFO - Created VN EVPN-VN1 2025-07-31 05:27:08,255 - DEBUG - VN EVPN-VN1 UUID is 284a235b-8634-41d6-8125-caf9d8ede859 2025-07-31 05:28:49,041 - DEBUG - Installing image ubuntu 2025-07-31 05:28:49,041 - DEBUG - Image info {'name': 'ubuntu.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', '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': 'ubuntu.vmtx', 'vcname': 'ubuntu-disk1.vmdk'} 2025-07-31 05:28:49,042 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-31 05:28:49,043 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-31 05:28:49,043 - DEBUG - Unzip image 2025-07-31 05:28:49,043 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-07-31 05:28:49,094 - DEBUG - Try to create image in user context 2025-07-31 05:28:49,234 - INFO - Deleting VN EVPN-VN1 2025-07-31 05:28:49,436 - DEBUG - Response for deleting network () 2025-07-31 05:28:50,918 - 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/evpn/test_evpn.py", line 355, in test_with_vxlan_encap_agent_restart
    verdict=self.verify_epvn_with_agent_restart(encap='vxlan')
  File "/contrail-test/serial_scripts/evpn/verify.py", line 1989, in verify_epvn_with_agent_restart
    node_name=compute_1))
  File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture
    reraise(*exc_info)
  File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise
    raise exc_obj.with_traceback(exc_tb)
  File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture
    fixture.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/ubuntu.vmdk'
2025-07-31 05:28:50,919 - DEBUG - Skipping xmpp flap check 2025-07-31 05:28:50,920 - INFO -
2025-07-31 05:28:50,920 - INFO - END TEST : test_with_vxlan_encap_agent_restart : FAILED[0:01:45]
2025-07-31 05:28:50,920 - INFO - -------------------------------------------------------------------------------- 2025-07-31 05:28:51,812 - INFO - Deleted project: ctest-TestEvpnCasesRestart-92353057, ID : e7a9a39e-1793-46e1-9102-d132687d0978