2025-07-24 05:23:05,401 - INFO - Domain Default found not creating 2025-07-24 05:23:05,619 - INFO - Project ctest-TestEvpnCasesRestart-28875351 not found, creating it 2025-07-24 05:23:06,208 - INFO - Created Project:ctest-TestEvpnCasesRestart-28875351, ID : f7383ed8-7aeb-43ce-8184-8d3490423a06 2025-07-24 05:23:07,944 - INFO - ================================================================================ 2025-07-24 05:23:07,945 - INFO - STARTING TEST : test_with_vxlan_encap_agent_restart 2025-07-24 05:23:07,945 - 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-24 05:23:09,256 - DEBUG - Skipping xmpp flap check 2025-07-24 05:23:09,256 - INFO - Initial checks done. Running the testcase now 2025-07-24 05:23:09,256 - INFO - 2025-07-24 05:23:09,256 - INFO - Setting new Encap before continuing 2025-07-24 05:23:09,256 - INFO - Read the existing encap priority 2025-07-24 05:23:09,836 - INFO - Created.UUID is {"global-vrouter-config": {"uuid": "d5d2133c-ea44-461f-b34b-d13efdc017b5", "href": "http://10.0.0.41:8082/global-vrouter-config/d5d2133c-ea44-461f-b34b-d13efdc017b5"}}. VXLAN is the highest priority encap 2025-07-24 05:23:09,866 - DEBUG - Services list from nova: [, , , ] 2025-07-24 05:23:09,867 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3712-1', 'an-jenkins-deploy-platform-ansible-os-3712-2']} 2025-07-24 05:23:10,316 - DEBUG - Response for create_network : {'network': {'id': '8c3692f4-a85c-4b7f-9780-b7df2d8d3738', 'name': 'EVPN-VN1', 'tenant_id': 'f7383ed87aeb43ce81848d3490423a06', 'project_id': 'f7383ed87aeb43ce81848d3490423a06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestEvpnCasesRestart-28875351', 'EVPN-VN1'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 05:23:10,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '94695c6d-9649-4150-acc4-02aa45c9dd5f', 'name': '', 'tenant_id': 'f7383ed87aeb43ce81848d3490423a06', 'network_id': '8c3692f4-a85c-4b7f-9780-b7df2d8d3738', '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': 'f7383ed87aeb43ce81848d3490423a06'}} 2025-07-24 05:23:10,707 - INFO - Created VN EVPN-VN1 2025-07-24 05:23:10,724 - DEBUG - VN EVPN-VN1 UUID is 8c3692f4-a85c-4b7f-9780-b7df2d8d3738 2025-07-24 05:24:51,447 - DEBUG - Installing image ubuntu 2025-07-24 05:24:51,447 - 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-24 05:24:51,447 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-24 05:24:51,447 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-24 05:24:51,447 - DEBUG - Unzip image 2025-07-24 05:24:51,447 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-07-24 05:24:51,480 - DEBUG - Try to create image in user context 2025-07-24 05:24:51,569 - INFO - Deleting VN EVPN-VN1 2025-07-24 05:24:51,754 - DEBUG - Response for deleting network () 2025-07-24 05:24:53,200 - 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-24 05:24:53,200 - DEBUG - Skipping xmpp flap check 2025-07-24 05:24:53,200 - INFO - 2025-07-24 05:24:53,200 - INFO - END TEST : test_with_vxlan_encap_agent_restart : FAILED[0:01:46] 2025-07-24 05:24:53,200 - INFO - -------------------------------------------------------------------------------- 2025-07-24 05:24:54,058 - INFO - Deleted project: ctest-TestEvpnCasesRestart-28875351, ID : f7383ed8-7aeb-43ce-8184-8d3490423a06