2025-07-22 17:53:35,945 - INFO - Domain Default found not creating 2025-07-22 17:53:36,122 - INFO - Project ctest-TestEvpnCasesRestart-48112191 not found, creating it 2025-07-22 17:53:36,653 - INFO - Created Project:ctest-TestEvpnCasesRestart-48112191, ID : decef20f-3fb6-493b-ad17-85279f74e695 2025-07-22 17:53:38,149 - INFO - ================================================================================ 2025-07-22 17:53:38,149 - INFO - STARTING TEST : test_with_vxlan_encap_agent_restart 2025-07-22 17:53:38,149 - 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-22 17:53:39,425 - DEBUG - Skipping xmpp flap check 2025-07-22 17:53:39,425 - INFO - Initial checks done. Running the testcase now 2025-07-22 17:53:39,425 - INFO - 2025-07-22 17:53:39,426 - INFO - Setting new Encap before continuing 2025-07-22 17:53:39,426 - INFO - Read the existing encap priority 2025-07-22 17:53:39,952 - INFO - Created.UUID is {"global-vrouter-config": {"uuid": "741f8ac2-b0a6-4633-a17b-a5bc4fedfd9e", "href": "http://10.0.0.23:8082/global-vrouter-config/741f8ac2-b0a6-4633-a17b-a5bc4fedfd9e"}}. VXLAN is the highest priority encap 2025-07-22 17:53:39,976 - DEBUG - Services list from nova: [, , , ] 2025-07-22 17:53:39,976 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3693-2', 'an-jenkins-deploy-platform-ansible-os-3693-1']} 2025-07-22 17:53:40,376 - DEBUG - Response for create_network : {'network': {'id': '1295f758-224a-4ab6-bf5b-3441b4620967', 'name': 'EVPN-VN1', 'tenant_id': 'decef20f3fb6493bad1785279f74e695', 'project_id': 'decef20f3fb6493bad1785279f74e695', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestEvpnCasesRestart-48112191', 'EVPN-VN1'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:53:40,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '5033dde8-ef02-4525-a23f-169637bbe937', 'name': '', 'tenant_id': 'decef20f3fb6493bad1785279f74e695', 'network_id': '1295f758-224a-4ab6-bf5b-3441b4620967', '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': 'decef20f3fb6493bad1785279f74e695'}} 2025-07-22 17:53:40,751 - INFO - Created VN EVPN-VN1 2025-07-22 17:53:40,770 - DEBUG - VN EVPN-VN1 UUID is 1295f758-224a-4ab6-bf5b-3441b4620967 2025-07-22 17:55:21,228 - DEBUG - Installing image ubuntu 2025-07-22 17:55:21,228 - 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'} 2025-07-22 17:55:21,228 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-22 17:55:21,228 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-22 17:55:21,228 - DEBUG - Unzip image 2025-07-22 17:55:21,229 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-07-22 17:55:21,243 - DEBUG - Try to create image in user context 2025-07-22 17:55:21,314 - INFO - Deleting VN EVPN-VN1 2025-07-22 17:55:21,486 - DEBUG - Response for deleting network () 2025-07-22 17:55:22,881 - 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-22 17:55:22,882 - DEBUG - Skipping xmpp flap check 2025-07-22 17:55:22,882 - INFO - 2025-07-22 17:55:22,882 - INFO - END TEST : test_with_vxlan_encap_agent_restart : FAILED[0:01:44] 2025-07-22 17:55:22,882 - INFO - -------------------------------------------------------------------------------- 2025-07-22 17:55:23,640 - INFO - Deleted project: ctest-TestEvpnCasesRestart-48112191, ID : decef20f-3fb6-493b-ad17-85279f74e695