2025-07-23 15:11:12,759 - INFO - Domain Default found not creating 2025-07-23 15:11:12,961 - INFO - Project ctest-TestECMPSanity-11422055 not found, creating it 2025-07-23 15:11:13,575 - INFO - Created Project:ctest-TestECMPSanity-11422055, ID : 5dbb120e-ff55-4081-a2ff-16136a87e1ca 2025-07-23 15:11:15,763 - DEBUG - Response for create_network : {'network': {'id': '83b97699-8028-4831-b970-e7d9bc770cc6', 'name': 'ctest-mgmt_ctest-TestECMPSanity-11422055-72197017', 'tenant_id': '5dbb120eff554081a2ff16136a87e1ca', 'project_id': '5dbb120eff554081a2ff16136a87e1ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPSanity-11422055', 'ctest-mgmt_ctest-TestECMPSanity-11422055-72197017'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:11:16,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e5c488b-285c-40f7-b517-dd910cd5615c', 'name': '', 'tenant_id': '5dbb120eff554081a2ff16136a87e1ca', 'network_id': '83b97699-8028-4831-b970-e7d9bc770cc6', 'ip_version': 4, 'cidr': '212.108.44.64/26', 'allocation_pools': [{'start': '212.108.44.66', 'end': '212.108.44.126'}], 'gateway_ip': '212.108.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.108.44.66', 'tags': [], 'project_id': '5dbb120eff554081a2ff16136a87e1ca'}} 2025-07-23 15:11:16,099 - INFO - Created VN ctest-mgmt_ctest-TestECMPSanity-11422055-72197017 2025-07-23 15:11:16,119 - DEBUG - VN ctest-mgmt_ctest-TestECMPSanity-11422055-72197017 UUID is 83b97699-8028-4831-b970-e7d9bc770cc6 2025-07-23 15:11:16,511 - DEBUG - Response for create_network : {'network': {'id': '9b199b06-a44c-434c-a660-2ae2949076ec', 'name': 'ctest-left_ctest-TestECMPSanity-11422055-02614219', 'tenant_id': '5dbb120eff554081a2ff16136a87e1ca', 'project_id': '5dbb120eff554081a2ff16136a87e1ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPSanity-11422055', 'ctest-left_ctest-TestECMPSanity-11422055-02614219'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:11:16,782 - DEBUG - Response for create_subnet : {'subnet': {'id': '27ba3ab3-d3c1-44cb-9c2f-ba7e9827ed6e', 'name': '', 'tenant_id': '5dbb120eff554081a2ff16136a87e1ca', 'network_id': '9b199b06-a44c-434c-a660-2ae2949076ec', 'ip_version': 4, 'cidr': '132.166.22.64/26', 'allocation_pools': [{'start': '132.166.22.66', 'end': '132.166.22.126'}], 'gateway_ip': '132.166.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.166.22.66', 'tags': [], 'project_id': '5dbb120eff554081a2ff16136a87e1ca'}} 2025-07-23 15:11:16,805 - INFO - Created VN ctest-left_ctest-TestECMPSanity-11422055-02614219 2025-07-23 15:11:16,818 - DEBUG - VN ctest-left_ctest-TestECMPSanity-11422055-02614219 UUID is 9b199b06-a44c-434c-a660-2ae2949076ec 2025-07-23 15:11:17,191 - DEBUG - Response for create_network : {'network': {'id': '263d4bfe-6479-47e8-9459-81fd190dfed3', 'name': 'ctest-right_ctest-TestECMPSanity-11422055-16468134', 'tenant_id': '5dbb120eff554081a2ff16136a87e1ca', 'project_id': '5dbb120eff554081a2ff16136a87e1ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPSanity-11422055', 'ctest-right_ctest-TestECMPSanity-11422055-16468134'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:11:17,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fb148de-75d0-4757-b2ac-343d4cfda224', 'name': '', 'tenant_id': '5dbb120eff554081a2ff16136a87e1ca', 'network_id': '263d4bfe-6479-47e8-9459-81fd190dfed3', 'ip_version': 4, 'cidr': '90.68.168.128/26', 'allocation_pools': [{'start': '90.68.168.130', 'end': '90.68.168.190'}], 'gateway_ip': '90.68.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.68.168.130', 'tags': [], 'project_id': '5dbb120eff554081a2ff16136a87e1ca'}} 2025-07-23 15:11:17,465 - INFO - Created VN ctest-right_ctest-TestECMPSanity-11422055-16468134 2025-07-23 15:11:17,481 - DEBUG - VN ctest-right_ctest-TestECMPSanity-11422055-16468134 UUID is 263d4bfe-6479-47e8-9459-81fd190dfed3 2025-07-23 15:11:17,645 - DEBUG - Services list from nova: [, , , ] 2025-07-23 15:11:18,663 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2) 2025-07-23 15:11:20,039 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1) 2025-07-23 15:11:20,041 - INFO - ================================================================================ 2025-07-23 15:11:20,042 - INFO - STARTING TEST : test_ecmp_svc_in_network_with_static_route_no_policy 2025-07-23 15:11:20,042 - INFO - TEST DESCRIPTION : Description: Validate service chaining in-network mode datapath having a static route entries of the either virtual networks pointing to the corresponding interfaces of the service instance. We will not configure any policy. Test steps: 1. Creating vm's - vm1 and vm2 in networks vn1 and vn2. 2. Creating a service instance in in-network mode with 1 instance and left-interface of the service instance sharing the IP and both the left and the right interfaces enabled for static route. 3. Delete the policy. 4. Checking for ping and tcp traffic between vm1 and vm2. Pass criteria: Ping between the VMs should be successful and TCP traffic should reach vm2 from vm1. Maintainer : ganeshahv@juniper.net 2025-07-23 15:11:21,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with 2025-07-23 15:11:21,500 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:11:21,500 - INFO - 2025-07-23 15:11:21,500 - DEBUG - Creating service template: ['default-domain', 'ctest-service_template_1-00199736'] 2025-07-23 15:11:21,824 - DEBUG - Service template: ['default-domain', 'ctest-service_template_1-00199736'] created succesfully 2025-07-23 15:13:02,497 - DEBUG - Installing image tiny_in_net 2025-07-23 15:13:02,497 - DEBUG - Image info {'name': 'tinycore-in-network.qcow2.gz', 'webserver': '', 'location': '/images/tinycore/', 'username': 'tc', 'password': 'secret', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hypervisor_type=qemu', 'name_docker': 'phusion-baseimage-enablesshd', 'vmdk': 'service_chain_images/nat_service/tiny_in_net/tinycore-in-network-flat.vmdk', 'shrinked_vmdk': "'no'"} 2025-07-23 15:13:02,497 - DEBUG - Image build path file:///contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-23 15:13:02,497 - DEBUG - Download image from local file file:///contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-23 15:13:02,497 - DEBUG - Unzip image 2025-07-23 15:13:02,498 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-23 15:13:02,509 - DEBUG - Try to create image in user context 2025-07-23 15:13:02,574 - DEBUG - Deleting service template: ['default-domain', 'ctest-service_template_1-00199736'] 2025-07-23 15:13:02,683 - INFO - Service template: ['default-domain', 'ctest-service_template_1-00199736'] deleted successfully. 2025-07-23 15:13:03,985 - ERROR -
Traceback (most recent call last):
  File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/contrail-test/scripts/ecmp/test_ecmp.py", line 95, in test_ecmp_svc_in_network_with_static_route_no_policy
    **self.common_args)
  File "/contrail-test/common/servicechain/verify.py", line 320, in verify_svc_chain
    ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs)
  File "/contrail-test/common/servicechain/config.py", line 533, in config_svc_chain
    max_inst=max_inst)
  File "/contrail-test/common/servicechain/config.py", line 335, in create_service_vms
    zone=random.choice(valid_zones))
  File "/contrail-test/common/servicechain/config.py", line 161, in config_vm_only
    flavor=flavor, zone=zone, node_name=node_name,**kwargs)
  File "/contrail-test/common/servicechain/config.py", line 203, in config_vm
    flavor=flavor, vn_objs=vns, count=count, zone=zone,**kwargs))
  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 580, in create_vm
    image = self.get_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 199, in get_image
    self._install_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 339, in _install_image
    return self.copy_and_glance(build_path, image_name, params)
  File "/contrail-test/fixtures/nova_test.py", line 410, 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/tinycore-in-network.qcow2'
2025-07-23 15:13:04,010 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 15:13:04,010 - INFO -
2025-07-23 15:13:04,010 - INFO - END TEST : test_ecmp_svc_in_network_with_static_route_no_policy : FAILED[0:01:44]
2025-07-23 15:13:04,010 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:13:04,016 - INFO - ================================================================================ 2025-07-23 15:13:04,016 - INFO - STARTING TEST : test_ecmp_svc_v2_transparent_with_3_instance 2025-07-23 15:13:04,016 - INFO - TEST DESCRIPTION : Description: Validate ECMP with version 2 service chaining transparent mode datapath having service instance Test steps: 1.Creating vm's - vm1 and vm2 in networks vn1 and vn2. 2.Creating a service instance in transparent mode with 3 instances. 3.Creating a service chain by applying the service instance as a service in a policy between the VNs. 4.Checking for ping and bidirectional tcp traffic between vm1 and vm2. Pass criteria: Ping between the VMs should be successful and TCP traffic should reach vm2 from vm1 and vice-versa. Maintainer : ganeshahv@juniper.net 2025-07-23 15:13:05,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with 2025-07-23 15:13:05,371 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:13:05,371 - INFO - 2025-07-23 15:13:05,371 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3704-2', 'an-jenkins-deploy-platform-ansible-os-3704-1']} 2025-07-23 15:13:05,371 - INFO - Skipped as test requires at least 3 nodes, but only 2 found 2025-07-23 15:13:06,723 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 15:13:06,723 - INFO -
2025-07-23 15:13:06,723 - INFO - END TEST : test_ecmp_svc_v2_transparent_with_3_instance : SKIPPED[0:00:02]
2025-07-23 15:13:06,723 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:13:06,727 - INFO - Skip interface_detach for VM ctest-right_vm_ctest-TestECMPSanity-11422055-82001021 in state BUILD 2025-07-23 15:13:06,727 - INFO - Deleting VM ctest-right_vm_ctest-TestECMPSanity-11422055-82001021 2025-07-23 15:13:06,758 - ERROR - VM ctest-right_vm_ctest-TestECMPSanity-11422055-82001021 has failed to come up 2025-07-23 15:13:06,758 - ERROR - Nova failed to get host of the VM 2025-07-23 15:13:06,759 - ERROR - VM ctest-right_vm_ctest-TestECMPSanity-11422055-82001021 has failed to come up 2025-07-23 15:13:06,759 - ERROR - Nova failed to get host of the VM 2025-07-23 15:13:06,830 - INFO - Skip interface_detach for VM ctest-left_vm_ctest-TestECMPSanity-11422055-04898302 in state BUILD 2025-07-23 15:13:06,830 - INFO - Deleting VM ctest-left_vm_ctest-TestECMPSanity-11422055-04898302 2025-07-23 15:13:06,830 - ERROR - VM ctest-left_vm_ctest-TestECMPSanity-11422055-04898302 has failed to come up 2025-07-23 15:13:06,830 - ERROR - Nova failed to get host of the VM 2025-07-23 15:13:06,830 - ERROR - VM ctest-left_vm_ctest-TestECMPSanity-11422055-04898302 has failed to come up 2025-07-23 15:13:06,830 - ERROR - Nova failed to get host of the VM 2025-07-23 15:13:06,908 - INFO - Deleting VN ctest-left_ctest-TestECMPSanity-11422055-02614219 2025-07-23 15:13:06,956 - DEBUG - VN 9b199b06-a44c-434c-a660-2ae2949076ec still in use: Unable to complete operation on network 9b199b06-a44c-434c-a660-2ae2949076ec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5f57cd0-99f6-4dd0-93b8-26f0f024d80f'] 2025-07-23 15:13:06,957 - WARNING - Deleting VN ctest-left_ctest-TestECMPSanity-11422055-02614219 failed..Will retry 2025-07-23 15:13:09,153 - DEBUG - Response for deleting network () 2025-07-23 15:13:09,153 - INFO - Deleting VN ctest-right_ctest-TestECMPSanity-11422055-16468134 2025-07-23 15:13:09,364 - DEBUG - Response for deleting network () 2025-07-23 15:13:09,364 - INFO - Deleting VN ctest-mgmt_ctest-TestECMPSanity-11422055-72197017 2025-07-23 15:13:09,593 - DEBUG - Response for deleting network () 2025-07-23 15:13:10,403 - INFO - Deleted project: ctest-TestECMPSanity-11422055, ID : 5dbb120e-ff55-4081-a2ff-16136a87e1ca