2025-07-23 15:10:54,850 - INFO - Domain Default found not creating
2025-07-23 15:10:55,052 - INFO - Project ctest-TestECMPIPv6Fragments-06437408 not found, creating it
2025-07-23 15:10:55,632 - INFO - Created Project:ctest-TestECMPIPv6Fragments-06437408, ID : d4719dc2-406c-486f-a8f0-cf7b0f2d19c8
2025-07-23 15:10:57,893 - DEBUG - Response for create_network : {'network': {'id': '8b6593bb-e4fa-4cef-aa72-a307fe1ed476', 'name': 'ctest-mgmt_ctest-TestECMPIPv6Fragments-06437408-55364733', 'tenant_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'project_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-06437408', 'ctest-mgmt_ctest-TestECMPIPv6Fragments-06437408-55364733'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:10:58,205 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5ce79b9-8464-4c45-9741-d6af0888e7cb', 'name': '', 'tenant_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'network_id': '8b6593bb-e4fa-4cef-aa72-a307fe1ed476', 'ip_version': 4, 'cidr': '30.33.68.192/26', 'allocation_pools': [{'start': '30.33.68.194', 'end': '30.33.68.254'}], 'gateway_ip': '30.33.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.33.68.194', 'tags': [], 'project_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8'}}
2025-07-23 15:10:58,232 - INFO - Created VN ctest-mgmt_ctest-TestECMPIPv6Fragments-06437408-55364733
2025-07-23 15:10:58,246 - DEBUG - VN ctest-mgmt_ctest-TestECMPIPv6Fragments-06437408-55364733 UUID is 8b6593bb-e4fa-4cef-aa72-a307fe1ed476
2025-07-23 15:10:58,707 - DEBUG - Response for create_network : {'network': {'id': 'f7ab78f0-c693-4344-a6ab-dd6d06c0ce78', 'name': 'ctest-left_ctest-TestECMPIPv6Fragments-06437408-07677404', 'tenant_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'project_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-06437408', 'ctest-left_ctest-TestECMPIPv6Fragments-06437408-07677404'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:10:58,957 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcecbb71-34fe-4d96-8600-b8aa4d5903ba', 'name': '', 'tenant_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'network_id': 'f7ab78f0-c693-4344-a6ab-dd6d06c0ce78', 'ip_version': 4, 'cidr': '169.56.238.0/26', 'allocation_pools': [{'start': '169.56.238.2', 'end': '169.56.238.62'}], 'gateway_ip': '169.56.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.56.238.2', 'tags': [], 'project_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8'}}
2025-07-23 15:10:58,983 - INFO - Created VN ctest-left_ctest-TestECMPIPv6Fragments-06437408-07677404
2025-07-23 15:10:59,001 - DEBUG - VN ctest-left_ctest-TestECMPIPv6Fragments-06437408-07677404 UUID is f7ab78f0-c693-4344-a6ab-dd6d06c0ce78
2025-07-23 15:10:59,390 - DEBUG - Response for create_network : {'network': {'id': '0da26113-755d-4ba2-8deb-a179ba01923a', 'name': 'ctest-right_ctest-TestECMPIPv6Fragments-06437408-23858812', 'tenant_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'project_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-06437408', 'ctest-right_ctest-TestECMPIPv6Fragments-06437408-23858812'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:10:59,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bffd3d8-03aa-41e1-bee6-6409b9972813', 'name': '', 'tenant_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8', 'network_id': '0da26113-755d-4ba2-8deb-a179ba01923a', 'ip_version': 4, 'cidr': '67.199.223.128/26', 'allocation_pools': [{'start': '67.199.223.130', 'end': '67.199.223.190'}], 'gateway_ip': '67.199.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.199.223.130', 'tags': [], 'project_id': 'd4719dc2406c486fa8f0cf7b0f2d19c8'}}
2025-07-23 15:10:59,714 - INFO - Created VN ctest-right_ctest-TestECMPIPv6Fragments-06437408-23858812
2025-07-23 15:10:59,728 - DEBUG - VN ctest-right_ctest-TestECMPIPv6Fragments-06437408-23858812 UUID is 0da26113-755d-4ba2-8deb-a179ba01923a
2025-07-23 15:10:59,866 - DEBUG - Services list from nova: [, , , ]
2025-07-23 15:11:00,892 - 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:02,521 - 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:02,523 - INFO - ================================================================================
2025-07-23 15:11:02,524 - INFO - STARTING TEST : test_ecmp_svc_in_network_with_static_route_no_policy
2025-07-23 15:11:02,524 - 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:03,859 - 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:03,859 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:11:03,859 - INFO -
2025-07-23 15:11:03,860 - DEBUG - Creating service template: ['default-domain', 'ctest-service_template_1-20253531']
2025-07-23 15:11:04,188 - DEBUG - Service template: ['default-domain', 'ctest-service_template_1-20253531'] created succesfully
2025-07-23 15:11:04,514 - DEBUG - Image by name tiny_in_net not found
2025-07-23 15:11:04,514 - DEBUG - Installing image tiny_in_net
2025-07-23 15:11:04,514 - 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:11:04,514 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/tinycore//tinycore-in-network.qcow2.gz
2025-07-23 15:11:04,514 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/tinycore//tinycore-in-network.qcow2.gz
2025-07-23 15:11:04,527 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/tinycore//tinycore-in-network.qcow2.gz -O /contrail-test/images/tinycore-in-network.qcow2.gz
2025-07-23 15:11:04,550 - DEBUG - Image has been downloaded to /contrail-test/images/tinycore-in-network.qcow2.gz
2025-07-23 15:11:04,550 - DEBUG - Unzip image
2025-07-23 15:11:04,550 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/tinycore-in-network.qcow2.gz
2025-07-23 15:11:04,563 - DEBUG - Try to create image in user context
2025-07-23 15:11:04,633 - DEBUG - Deleting service template: ['default-domain', 'ctest-service_template_1-20253531']
2025-07-23 15:11:04,735 - INFO - Service template: ['default-domain', 'ctest-service_template_1-20253531'] deleted successfully.
2025-07-23 15:11:06,068 - 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:11:06,101 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:11:06,101 - INFO -
2025-07-23 15:11:06,102 - INFO - END TEST : test_ecmp_svc_in_network_with_static_route_no_policy : FAILED[0:00:04]
2025-07-23 15:11:06,102 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:11:06,107 - INFO - ================================================================================
2025-07-23 15:11:06,107 - INFO - STARTING TEST : test_ecmp_svc_v2_transparent_with_3_instance
2025-07-23 15:11:06,107 - 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:11:07,467 - 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:07,467 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:11:07,467 - INFO -
2025-07-23 15:11:07,467 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3704-2', 'an-jenkins-deploy-platform-ansible-os-3704-1']}
2025-07-23 15:11:07,467 - INFO - Skipped as test requires at least 3 nodes, but only 2 found
2025-07-23 15:11:08,833 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:11:08,833 - INFO -
2025-07-23 15:11:08,833 - INFO - END TEST : test_ecmp_svc_v2_transparent_with_3_instance : SKIPPED[0:00:02]
2025-07-23 15:11:08,833 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:11:08,835 - INFO - Skip interface_detach for VM ctest-right_vm_ctest-TestECMPIPv6Fragments-06437408-55620264 in state BUILD
2025-07-23 15:11:08,835 - INFO - Deleting VM ctest-right_vm_ctest-TestECMPIPv6Fragments-06437408-55620264
2025-07-23 15:11:08,863 - ERROR - VM ctest-right_vm_ctest-TestECMPIPv6Fragments-06437408-55620264 has failed to come up
2025-07-23 15:11:08,863 - ERROR - Nova failed to get host of the VM
2025-07-23 15:11:08,863 - ERROR - VM ctest-right_vm_ctest-TestECMPIPv6Fragments-06437408-55620264 has failed to come up
2025-07-23 15:11:08,863 - ERROR - Nova failed to get host of the VM
2025-07-23 15:11:08,940 - INFO - Skip interface_detach for VM ctest-left_vm_ctest-TestECMPIPv6Fragments-06437408-12513703 in state BUILD
2025-07-23 15:11:08,940 - INFO - Deleting VM ctest-left_vm_ctest-TestECMPIPv6Fragments-06437408-12513703
2025-07-23 15:11:08,940 - ERROR - VM ctest-left_vm_ctest-TestECMPIPv6Fragments-06437408-12513703 has failed to come up
2025-07-23 15:11:08,940 - ERROR - Nova failed to get host of the VM
2025-07-23 15:11:08,940 - ERROR - VM ctest-left_vm_ctest-TestECMPIPv6Fragments-06437408-12513703 has failed to come up
2025-07-23 15:11:08,940 - ERROR - Nova failed to get host of the VM
2025-07-23 15:11:09,031 - INFO - Deleting VN ctest-left_ctest-TestECMPIPv6Fragments-06437408-07677404
2025-07-23 15:11:09,084 - DEBUG - VN f7ab78f0-c693-4344-a6ab-dd6d06c0ce78 still in use: Unable to complete operation on network f7ab78f0-c693-4344-a6ab-dd6d06c0ce78. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a169baad-f7f2-4fb5-92c7-6a8851777778']
2025-07-23 15:11:09,084 - WARNING - Deleting VN ctest-left_ctest-TestECMPIPv6Fragments-06437408-07677404 failed..Will retry
2025-07-23 15:11:11,262 - DEBUG - Response for deleting network ()
2025-07-23 15:11:11,262 - INFO - Deleting VN ctest-right_ctest-TestECMPIPv6Fragments-06437408-23858812
2025-07-23 15:11:11,455 - DEBUG - Response for deleting network ()
2025-07-23 15:11:11,455 - INFO - Deleting VN ctest-mgmt_ctest-TestECMPIPv6Fragments-06437408-55364733
2025-07-23 15:11:11,685 - DEBUG - Response for deleting network ()
2025-07-23 15:11:12,527 - INFO - Deleted project: ctest-TestECMPIPv6Fragments-06437408, ID : d4719dc2-406c-486f-a8f0-cf7b0f2d19c8