2025-07-31 02:48:31,883 - INFO - Domain Default found not creating 2025-07-31 02:48:32,142 - INFO - Project ctest-TestECMPIPv6Fragments-86759223 not found, creating it 2025-07-31 02:48:32,850 - INFO - Created Project:ctest-TestECMPIPv6Fragments-86759223, ID : 165e2f44-7d55-46ee-93fb-9b75459d247a 2025-07-31 02:48:35,752 - DEBUG - Response for create_network : {'network': {'id': '3df2ba3e-a359-443a-ab2b-b4d5bd4e5b5a', 'name': 'ctest-mgmt_ctest-TestECMPIPv6Fragments-86759223-39515172', 'tenant_id': '165e2f447d5546ee93fb9b75459d247a', 'project_id': '165e2f447d5546ee93fb9b75459d247a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-86759223', 'ctest-mgmt_ctest-TestECMPIPv6Fragments-86759223-39515172'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:48:36,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed1ad1f8-8a6a-4287-a65d-26bcbc5294b4', 'name': '', 'tenant_id': '165e2f447d5546ee93fb9b75459d247a', 'network_id': '3df2ba3e-a359-443a-ab2b-b4d5bd4e5b5a', 'ip_version': 4, 'cidr': '130.165.92.128/26', 'allocation_pools': [{'start': '130.165.92.130', 'end': '130.165.92.190'}], 'gateway_ip': '130.165.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.165.92.130', 'tags': [], 'project_id': '165e2f447d5546ee93fb9b75459d247a'}} 2025-07-31 02:48:36,098 - INFO - Created VN ctest-mgmt_ctest-TestECMPIPv6Fragments-86759223-39515172 2025-07-31 02:48:36,114 - DEBUG - VN ctest-mgmt_ctest-TestECMPIPv6Fragments-86759223-39515172 UUID is 3df2ba3e-a359-443a-ab2b-b4d5bd4e5b5a 2025-07-31 02:48:36,513 - DEBUG - Response for create_network : {'network': {'id': 'f7fb181f-710b-469d-8710-541ef9618994', 'name': 'ctest-left_ctest-TestECMPIPv6Fragments-86759223-95257749', 'tenant_id': '165e2f447d5546ee93fb9b75459d247a', 'project_id': '165e2f447d5546ee93fb9b75459d247a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-86759223', 'ctest-left_ctest-TestECMPIPv6Fragments-86759223-95257749'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:48:36,795 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2e42675-3233-4af1-b14e-cdbd2d20b9a8', 'name': '', 'tenant_id': '165e2f447d5546ee93fb9b75459d247a', 'network_id': 'f7fb181f-710b-469d-8710-541ef9618994', 'ip_version': 4, 'cidr': '184.252.143.0/26', 'allocation_pools': [{'start': '184.252.143.2', 'end': '184.252.143.62'}], 'gateway_ip': '184.252.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.252.143.2', 'tags': [], 'project_id': '165e2f447d5546ee93fb9b75459d247a'}} 2025-07-31 02:48:36,818 - INFO - Created VN ctest-left_ctest-TestECMPIPv6Fragments-86759223-95257749 2025-07-31 02:48:36,830 - DEBUG - VN ctest-left_ctest-TestECMPIPv6Fragments-86759223-95257749 UUID is f7fb181f-710b-469d-8710-541ef9618994 2025-07-31 02:48:37,265 - DEBUG - Response for create_network : {'network': {'id': '1a91ec55-e2b4-4e20-8dba-6f3ca4eb081c', 'name': 'ctest-right_ctest-TestECMPIPv6Fragments-86759223-74998241', 'tenant_id': '165e2f447d5546ee93fb9b75459d247a', 'project_id': '165e2f447d5546ee93fb9b75459d247a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestECMPIPv6Fragments-86759223', 'ctest-right_ctest-TestECMPIPv6Fragments-86759223-74998241'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:48:37,532 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1059cf8-9394-46e3-8b9e-bb2ce5dceebf', 'name': '', 'tenant_id': '165e2f447d5546ee93fb9b75459d247a', 'network_id': '1a91ec55-e2b4-4e20-8dba-6f3ca4eb081c', 'ip_version': 4, 'cidr': '104.27.209.0/26', 'allocation_pools': [{'start': '104.27.209.2', 'end': '104.27.209.62'}], 'gateway_ip': '104.27.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.27.209.2', 'tags': [], 'project_id': '165e2f447d5546ee93fb9b75459d247a'}} 2025-07-31 02:48:37,558 - INFO - Created VN ctest-right_ctest-TestECMPIPv6Fragments-86759223-74998241 2025-07-31 02:48:37,571 - DEBUG - VN ctest-right_ctest-TestECMPIPv6Fragments-86759223-74998241 UUID is 1a91ec55-e2b4-4e20-8dba-6f3ca4eb081c 2025-07-31 02:48:37,752 - DEBUG - Services list from nova: [, , , ] 2025-07-31 02:48:39,435 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3732-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3732-1) 2025-07-31 02:48:40,793 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3732-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3732-2) 2025-07-31 02:48:40,798 - INFO - ================================================================================ 2025-07-31 02:48:40,799 - INFO - STARTING TEST : test_ecmp_svc_in_network_with_static_route_no_policy 2025-07-31 02:48:40,799 - 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-31 02:48:42,125 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.57': {'10.20.0.18': '0', '10.20.0.193': '0'}} with 2025-07-31 02:48:42,125 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:48:42,128 - INFO - 2025-07-31 02:48:42,128 - DEBUG - Creating service template: ['default-domain', 'ctest-service_template_1-69135366'] 2025-07-31 02:48:42,436 - DEBUG - Service template: ['default-domain', 'ctest-service_template_1-69135366'] created succesfully 2025-07-31 02:48:42,871 - DEBUG - Image by name tiny_in_net not found 2025-07-31 02:48:42,872 - DEBUG - Installing image tiny_in_net 2025-07-31 02:48:42,872 - 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-31 02:48:42,872 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/tinycore//tinycore-in-network.qcow2.gz 2025-07-31 02:48:42,872 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/tinycore//tinycore-in-network.qcow2.gz 2025-07-31 02:48:42,894 - 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-31 02:48:42,941 - DEBUG - Image has been downloaded to /contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-31 02:48:42,942 - DEBUG - Unzip image 2025-07-31 02:48:42,942 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-31 02:48:42,969 - DEBUG - Try to create image in user context 2025-07-31 02:48:43,081 - DEBUG - Deleting service template: ['default-domain', 'ctest-service_template_1-69135366'] 2025-07-31 02:48:43,185 - INFO - Service template: ['default-domain', 'ctest-service_template_1-69135366'] deleted successfully. 2025-07-31 02:48:44,556 - 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-31 02:48:44,584 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:48:44,584 - INFO -
2025-07-31 02:48:44,584 - INFO - END TEST : test_ecmp_svc_in_network_with_static_route_no_policy : FAILED[0:00:04]
2025-07-31 02:48:44,585 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:48:44,598 - INFO - ================================================================================ 2025-07-31 02:48:44,598 - INFO - STARTING TEST : test_ecmp_svc_v2_transparent_with_3_instance 2025-07-31 02:48:44,598 - 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-31 02:48:45,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.57': {'10.20.0.18': '0', '10.20.0.193': '0'}} with 2025-07-31 02:48:45,956 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:48:45,956 - INFO - 2025-07-31 02:48:45,956 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3732-1', 'an-jenkins-deploy-platform-ansible-os-3732-2']} 2025-07-31 02:48:45,957 - INFO - Skipped as test requires at least 3 nodes, but only 2 found 2025-07-31 02:48:47,304 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:48:47,304 - INFO -
2025-07-31 02:48:47,305 - INFO - END TEST : test_ecmp_svc_v2_transparent_with_3_instance : SKIPPED[0:00:03]
2025-07-31 02:48:47,305 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:48:47,309 - INFO - Skip interface_detach for VM ctest-right_vm_ctest-TestECMPIPv6Fragments-86759223-38576442 in state BUILD 2025-07-31 02:48:47,310 - INFO - Deleting VM ctest-right_vm_ctest-TestECMPIPv6Fragments-86759223-38576442 2025-07-31 02:48:47,385 - ERROR - VM ctest-right_vm_ctest-TestECMPIPv6Fragments-86759223-38576442 has failed to come up 2025-07-31 02:48:47,385 - ERROR - Nova failed to get host of the VM 2025-07-31 02:48:47,385 - ERROR - VM ctest-right_vm_ctest-TestECMPIPv6Fragments-86759223-38576442 has failed to come up 2025-07-31 02:48:47,386 - ERROR - Nova failed to get host of the VM 2025-07-31 02:48:47,555 - INFO - Skip interface_detach for VM ctest-left_vm_ctest-TestECMPIPv6Fragments-86759223-91243017 in state BUILD 2025-07-31 02:48:47,555 - INFO - Deleting VM ctest-left_vm_ctest-TestECMPIPv6Fragments-86759223-91243017 2025-07-31 02:48:47,555 - ERROR - VM ctest-left_vm_ctest-TestECMPIPv6Fragments-86759223-91243017 has failed to come up 2025-07-31 02:48:47,555 - ERROR - Nova failed to get host of the VM 2025-07-31 02:48:47,555 - ERROR - VM ctest-left_vm_ctest-TestECMPIPv6Fragments-86759223-91243017 has failed to come up 2025-07-31 02:48:47,555 - ERROR - Nova failed to get host of the VM 2025-07-31 02:48:47,717 - INFO - Deleting VN ctest-left_ctest-TestECMPIPv6Fragments-86759223-95257749 2025-07-31 02:48:47,800 - DEBUG - VN f7fb181f-710b-469d-8710-541ef9618994 still in use: Unable to complete operation on network f7fb181f-710b-469d-8710-541ef9618994. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ffee1db-5cea-4c97-800e-74270936674c'] 2025-07-31 02:48:47,801 - WARNING - Deleting VN ctest-left_ctest-TestECMPIPv6Fragments-86759223-95257749 failed..Will retry 2025-07-31 02:48:50,056 - DEBUG - Response for deleting network () 2025-07-31 02:48:50,056 - INFO - Deleting VN ctest-right_ctest-TestECMPIPv6Fragments-86759223-74998241 2025-07-31 02:48:50,281 - DEBUG - Response for deleting network () 2025-07-31 02:48:50,281 - INFO - Deleting VN ctest-mgmt_ctest-TestECMPIPv6Fragments-86759223-39515172 2025-07-31 02:48:50,460 - DEBUG - Response for deleting network () 2025-07-31 02:48:51,320 - INFO - Deleted project: ctest-TestECMPIPv6Fragments-86759223, ID : 165e2f44-7d55-46ee-93fb-9b75459d247a