2025-07-24 02:42:40,512 - INFO - Domain Default found not creating
2025-07-24 02:42:40,674 - INFO - Project ctest-TestECMPIPv6Fragments-90541938 not found, creating it
2025-07-24 02:42:41,262 - INFO - Created Project:ctest-TestECMPIPv6Fragments-90541938, ID : 172d877d-3641-402a-856e-7870e16e1897
2025-07-24 02:42:43,765 - DEBUG - Response for create_network : {'network': {'id': 'f5fb273b-3512-40b1-b610-944c41f72b15', 'name': 'ctest-mgmt_ctest-TestECMPIPv6Fragments-90541938-92435140', 'tenant_id': '172d877d3641402a856e7870e16e1897', 'project_id': '172d877d3641402a856e7870e16e1897', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-90541938', 'ctest-mgmt_ctest-TestECMPIPv6Fragments-90541938-92435140'], 'port_security_enabled': True, 'description': ''}}
2025-07-24 02:42:44,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1922ad5-f520-4d2c-8c23-593e2a612b3d', 'name': '', 'tenant_id': '172d877d3641402a856e7870e16e1897', 'network_id': 'f5fb273b-3512-40b1-b610-944c41f72b15', 'ip_version': 4, 'cidr': '211.46.98.192/26', 'allocation_pools': [{'start': '211.46.98.194', 'end': '211.46.98.254'}], 'gateway_ip': '211.46.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.46.98.194', 'tags': [], 'project_id': '172d877d3641402a856e7870e16e1897'}}
2025-07-24 02:42:44,151 - INFO - Created VN ctest-mgmt_ctest-TestECMPIPv6Fragments-90541938-92435140
2025-07-24 02:42:44,164 - DEBUG - VN ctest-mgmt_ctest-TestECMPIPv6Fragments-90541938-92435140 UUID is f5fb273b-3512-40b1-b610-944c41f72b15
2025-07-24 02:42:44,574 - DEBUG - Response for create_network : {'network': {'id': 'ac4fe0d2-e568-4e2d-98e7-8fc2c85bc32d', 'name': 'ctest-left_ctest-TestECMPIPv6Fragments-90541938-06831262', 'tenant_id': '172d877d3641402a856e7870e16e1897', 'project_id': '172d877d3641402a856e7870e16e1897', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-90541938', 'ctest-left_ctest-TestECMPIPv6Fragments-90541938-06831262'], 'port_security_enabled': True, 'description': ''}}
2025-07-24 02:42:44,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '763d3382-3202-4a8e-8d3a-fa5172f36d62', 'name': '', 'tenant_id': '172d877d3641402a856e7870e16e1897', 'network_id': 'ac4fe0d2-e568-4e2d-98e7-8fc2c85bc32d', 'ip_version': 4, 'cidr': '68.78.211.128/26', 'allocation_pools': [{'start': '68.78.211.130', 'end': '68.78.211.190'}], 'gateway_ip': '68.78.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.78.211.130', 'tags': [], 'project_id': '172d877d3641402a856e7870e16e1897'}}
2025-07-24 02:42:44,920 - INFO - Created VN ctest-left_ctest-TestECMPIPv6Fragments-90541938-06831262
2025-07-24 02:42:44,935 - DEBUG - VN ctest-left_ctest-TestECMPIPv6Fragments-90541938-06831262 UUID is ac4fe0d2-e568-4e2d-98e7-8fc2c85bc32d
2025-07-24 02:42:45,342 - DEBUG - Response for create_network : {'network': {'id': '3a8af9fb-2d81-4662-8547-49de0dd724ba', 'name': 'ctest-right_ctest-TestECMPIPv6Fragments-90541938-93439596', 'tenant_id': '172d877d3641402a856e7870e16e1897', 'project_id': '172d877d3641402a856e7870e16e1897', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-90541938', 'ctest-right_ctest-TestECMPIPv6Fragments-90541938-93439596'], 'port_security_enabled': True, 'description': ''}}
2025-07-24 02:42:45,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd85a1414-eec3-4f12-b7e1-276d677ba204', 'name': '', 'tenant_id': '172d877d3641402a856e7870e16e1897', 'network_id': '3a8af9fb-2d81-4662-8547-49de0dd724ba', 'ip_version': 4, 'cidr': '46.101.71.192/26', 'allocation_pools': [{'start': '46.101.71.194', 'end': '46.101.71.254'}], 'gateway_ip': '46.101.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.101.71.194', 'tags': [], 'project_id': '172d877d3641402a856e7870e16e1897'}}
2025-07-24 02:42:45,624 - INFO - Created VN ctest-right_ctest-TestECMPIPv6Fragments-90541938-93439596
2025-07-24 02:42:45,643 - DEBUG - VN ctest-right_ctest-TestECMPIPv6Fragments-90541938-93439596 UUID is 3a8af9fb-2d81-4662-8547-49de0dd724ba
2025-07-24 02:42:45,784 - DEBUG - Services list from nova: [, , , ]
2025-07-24 02:42:46,922 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3712-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3712-1)
2025-07-24 02:42:48,317 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3712-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3712-2)
2025-07-24 02:42:48,319 - INFO - ================================================================================
2025-07-24 02:42:48,319 - INFO - STARTING TEST : test_ecmp_svc_in_network_with_static_route_no_policy
2025-07-24 02:42:48,319 - 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-24 02:42:49,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0', '10.20.0.129': '0'}, '10.0.0.23': {'10.20.0.129': '0', '10.20.0.17': '0'}} with
2025-07-24 02:42:49,658 - INFO - Initial checks done. Running the testcase now
2025-07-24 02:42:49,658 - INFO -
2025-07-24 02:42:49,659 - DEBUG - Creating service template: ['default-domain', 'ctest-service_template_1-41667820']
2025-07-24 02:42:49,981 - DEBUG - Service template: ['default-domain', 'ctest-service_template_1-41667820'] created succesfully
2025-07-24 02:42:50,305 - DEBUG - Image by name tiny_in_net not found
2025-07-24 02:42:50,305 - DEBUG - Installing image tiny_in_net
2025-07-24 02:42:50,305 - 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', 'vctmpl': 'service_chain_images/nat_service/tiny_in_net/tinycore-in-network.vmtx', 'vcname': 'service_chain_images/nat_service/tiny_in_net/tinycore-in-network.vmdk', 'vmdk': 'service_chain_images/nat_service/tiny_in_net/tinycore-in-network-flat.vmdk', 'shrinked_vmdk': "'no'"}
2025-07-24 02:42:50,306 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/tinycore//tinycore-in-network.qcow2.gz
2025-07-24 02:42:50,306 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/tinycore//tinycore-in-network.qcow2.gz
2025-07-24 02:42:50,317 - 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-24 02:42:50,343 - DEBUG - Image has been downloaded to /contrail-test/images/tinycore-in-network.qcow2.gz
2025-07-24 02:42:50,343 - DEBUG - Unzip image
2025-07-24 02:42:50,343 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/tinycore-in-network.qcow2.gz
2025-07-24 02:42:50,360 - DEBUG - Try to create image in user context
2025-07-24 02:42:50,442 - DEBUG - Deleting service template: ['default-domain', 'ctest-service_template_1-41667820']
2025-07-24 02:42:50,551 - INFO - Service template: ['default-domain', 'ctest-service_template_1-41667820'] deleted successfully.
2025-07-24 02:42:51,822 - 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 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/tinycore-in-network.qcow2'
2025-07-24 02:42:51,840 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:42:51,840 - INFO -
2025-07-24 02:42:51,840 - INFO - END TEST : test_ecmp_svc_in_network_with_static_route_no_policy : FAILED[0:00:03]
2025-07-24 02:42:51,840 - INFO - --------------------------------------------------------------------------------
2025-07-24 02:42:51,848 - INFO - ================================================================================
2025-07-24 02:42:51,848 - INFO - STARTING TEST : test_ecmp_svc_v2_transparent_with_3_instance
2025-07-24 02:42:51,848 - 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-24 02:42:53,163 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0', '10.20.0.129': '0'}, '10.0.0.23': {'10.20.0.129': '0', '10.20.0.17': '0'}} with
2025-07-24 02:42:53,163 - INFO - Initial checks done. Running the testcase now
2025-07-24 02:42:53,163 - INFO -
2025-07-24 02:42:53,163 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3712-1', 'an-jenkins-deploy-platform-ansible-os-3712-2']}
2025-07-24 02:42:53,163 - INFO - Skipped as test requires at least 3 nodes, but only 2 found
2025-07-24 02:42:54,459 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:42:54,459 - INFO -
2025-07-24 02:42:54,460 - INFO - END TEST : test_ecmp_svc_v2_transparent_with_3_instance : SKIPPED[0:00:03]
2025-07-24 02:42:54,460 - INFO - --------------------------------------------------------------------------------
2025-07-24 02:42:54,464 - INFO - Skip interface_detach for VM ctest-right_vm_ctest-TestECMPIPv6Fragments-90541938-93759989 in state BUILD
2025-07-24 02:42:54,464 - INFO - Deleting VM ctest-right_vm_ctest-TestECMPIPv6Fragments-90541938-93759989
2025-07-24 02:42:54,490 - ERROR - VM ctest-right_vm_ctest-TestECMPIPv6Fragments-90541938-93759989 has failed to come up
2025-07-24 02:42:54,490 - ERROR - Nova failed to get host of the VM
2025-07-24 02:42:54,490 - ERROR - VM ctest-right_vm_ctest-TestECMPIPv6Fragments-90541938-93759989 has failed to come up
2025-07-24 02:42:54,490 - ERROR - Nova failed to get host of the VM
2025-07-24 02:42:54,557 - INFO - Skip interface_detach for VM ctest-left_vm_ctest-TestECMPIPv6Fragments-90541938-84803914 in state BUILD
2025-07-24 02:42:54,557 - INFO - Deleting VM ctest-left_vm_ctest-TestECMPIPv6Fragments-90541938-84803914
2025-07-24 02:42:54,557 - ERROR - VM ctest-left_vm_ctest-TestECMPIPv6Fragments-90541938-84803914 has failed to come up
2025-07-24 02:42:54,557 - ERROR - Nova failed to get host of the VM
2025-07-24 02:42:54,557 - ERROR - VM ctest-left_vm_ctest-TestECMPIPv6Fragments-90541938-84803914 has failed to come up
2025-07-24 02:42:54,557 - ERROR - Nova failed to get host of the VM
2025-07-24 02:42:54,627 - INFO - Deleting VN ctest-left_ctest-TestECMPIPv6Fragments-90541938-06831262
2025-07-24 02:42:54,688 - DEBUG - VN ac4fe0d2-e568-4e2d-98e7-8fc2c85bc32d still in use: Unable to complete operation on network ac4fe0d2-e568-4e2d-98e7-8fc2c85bc32d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b860e291-01b8-4193-8e87-d4274b651e0f']
2025-07-24 02:42:54,688 - WARNING - Deleting VN ctest-left_ctest-TestECMPIPv6Fragments-90541938-06831262 failed..Will retry
2025-07-24 02:42:56,901 - DEBUG - Response for deleting network ()
2025-07-24 02:42:56,901 - INFO - Deleting VN ctest-right_ctest-TestECMPIPv6Fragments-90541938-93439596
2025-07-24 02:42:57,130 - DEBUG - Response for deleting network ()
2025-07-24 02:42:57,130 - INFO - Deleting VN ctest-mgmt_ctest-TestECMPIPv6Fragments-90541938-92435140
2025-07-24 02:42:57,328 - DEBUG - Response for deleting network ()
2025-07-24 02:42:58,167 - INFO - Deleted project: ctest-TestECMPIPv6Fragments-90541938, ID : 172d877d-3641-402a-856e-7870e16e1897