2025-07-21 14:17:29,789 - INFO - Domain Default found not creating 2025-07-21 14:17:30,085 - INFO - Project ctest-TestEvpnCasesRestart-97647367 not found, creating it 2025-07-21 14:17:30,660 - INFO - Created Project:ctest-TestEvpnCasesRestart-97647367, ID : 5df704c1-b7fc-4fdf-8575-0d5372f3920b 2025-07-21 14:17:32,613 - INFO - ================================================================================ 2025-07-21 14:17:32,613 - INFO - STARTING TEST : test_with_vxlan_encap_agent_restart 2025-07-21 14:17:32,613 - 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-21 14:17:32,776 - DEBUG - Skipping xmpp flap check 2025-07-21 14:17:32,776 - INFO - Initial checks done. Running the testcase now 2025-07-21 14:17:32,776 - INFO - 2025-07-21 14:17:32,776 - INFO - Setting new Encap before continuing 2025-07-21 14:17:32,777 - INFO - Read the existing encap priority 2025-07-21 14:17:33,544 - INFO - Created.UUID is {"global-vrouter-config": {"uuid": "3d6912ff-afa4-4bbc-a46f-479b6218a40c", "href": "http://10.0.0.254:8082/global-vrouter-config/3d6912ff-afa4-4bbc-a46f-479b6218a40c"}}. VXLAN is the highest priority encap 2025-07-21 14:17:33,585 - DEBUG - Services list from nova: [, , ] 2025-07-21 14:17:33,586 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3677-1']} 2025-07-21 14:17:33,954 - DEBUG - Response for create_network : {'network': {'id': '05cb8193-c5b8-4b76-aec5-9d15d2ce5a74', 'name': 'EVPN-VN1', 'tenant_id': '5df704c1b7fc4fdf85750d5372f3920b', 'project_id': '5df704c1b7fc4fdf85750d5372f3920b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestEvpnCasesRestart-97647367', 'EVPN-VN1'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 14:17:34,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de9bf7bb-efc5-4f59-9ae2-661be48afd71', 'name': '', 'tenant_id': '5df704c1b7fc4fdf85750d5372f3920b', 'network_id': '05cb8193-c5b8-4b76-aec5-9d15d2ce5a74', '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': '5df704c1b7fc4fdf85750d5372f3920b'}} 2025-07-21 14:17:34,289 - INFO - Created VN EVPN-VN1 2025-07-21 14:17:34,362 - DEBUG - VN EVPN-VN1 UUID is 05cb8193-c5b8-4b76-aec5-9d15d2ce5a74 2025-07-21 14:19:15,368 - DEBUG - Installing image ubuntu 2025-07-21 14:19:15,368 - 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-21 14:19:15,368 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-21 14:19:15,368 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-21 14:19:15,368 - DEBUG - Unzip image 2025-07-21 14:19:15,368 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-07-21 14:19:15,388 - DEBUG - Try to create image in user context 2025-07-21 14:19:15,551 - INFO - Deleting VN EVPN-VN1 2025-07-21 14:19:15,779 - DEBUG - Response for deleting network () 2025-07-21 14:19:16,137 - 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-21 14:19:16,137 - DEBUG - Skipping xmpp flap check 2025-07-21 14:19:16,137 - INFO -
2025-07-21 14:19:16,138 - INFO - END TEST : test_with_vxlan_encap_agent_restart : FAILED[0:01:44]
2025-07-21 14:19:16,138 - INFO - -------------------------------------------------------------------------------- 2025-07-21 14:19:17,202 - INFO - Deleted project: ctest-TestEvpnCasesRestart-97647367, ID : 5df704c1-b7fc-4fdf-8575-0d5372f3920b