2025-07-23 15:13:40,250 - INFO - Domain Default found not creating 2025-07-23 15:13:40,398 - INFO - Project ctest-TestMultiInlineSVC-60962556 not found, creating it 2025-07-23 15:13:41,054 - INFO - Created Project:ctest-TestMultiInlineSVC-60962556, ID : 38f32248-a531-4cdc-a11e-4a6292c89505 2025-07-23 15:13:43,321 - DEBUG - Response for create_network : {'network': {'id': 'd5d75c80-5424-4b6f-b453-e33102673795', 'name': 'ctest-mgmt_ctest-TestMultiInlineSVC-60962556-19619553', 'tenant_id': '38f32248a5314cdca11e4a6292c89505', 'project_id': '38f32248a5314cdca11e4a6292c89505', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestMultiInlineSVC-60962556', 'ctest-mgmt_ctest-TestMultiInlineSVC-60962556-19619553'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:13:43,593 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d910fb5-5803-47cc-8f3a-1b50a1d3f133', 'name': '', 'tenant_id': '38f32248a5314cdca11e4a6292c89505', 'network_id': 'd5d75c80-5424-4b6f-b453-e33102673795', 'ip_version': 4, 'cidr': '157.192.34.192/26', 'allocation_pools': [{'start': '157.192.34.194', 'end': '157.192.34.254'}], 'gateway_ip': '157.192.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.192.34.194', 'tags': [], 'project_id': '38f32248a5314cdca11e4a6292c89505'}} 2025-07-23 15:13:43,615 - INFO - Created VN ctest-mgmt_ctest-TestMultiInlineSVC-60962556-19619553 2025-07-23 15:13:43,630 - DEBUG - VN ctest-mgmt_ctest-TestMultiInlineSVC-60962556-19619553 UUID is d5d75c80-5424-4b6f-b453-e33102673795 2025-07-23 15:13:44,053 - DEBUG - Response for create_network : {'network': {'id': 'cc168d39-9641-477f-8d3f-b2025a3a797c', 'name': 'ctest-left_ctest-TestMultiInlineSVC-60962556-79045377', 'tenant_id': '38f32248a5314cdca11e4a6292c89505', 'project_id': '38f32248a5314cdca11e4a6292c89505', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestMultiInlineSVC-60962556', 'ctest-left_ctest-TestMultiInlineSVC-60962556-79045377'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:13:44,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '01892eeb-c5e1-4f9d-a321-ea300affb608', 'name': '', 'tenant_id': '38f32248a5314cdca11e4a6292c89505', 'network_id': 'cc168d39-9641-477f-8d3f-b2025a3a797c', 'ip_version': 4, 'cidr': '184.38.36.64/26', 'allocation_pools': [{'start': '184.38.36.66', 'end': '184.38.36.126'}], 'gateway_ip': '184.38.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.38.36.66', 'tags': [], 'project_id': '38f32248a5314cdca11e4a6292c89505'}} 2025-07-23 15:13:44,373 - INFO - Created VN ctest-left_ctest-TestMultiInlineSVC-60962556-79045377 2025-07-23 15:13:44,389 - DEBUG - VN ctest-left_ctest-TestMultiInlineSVC-60962556-79045377 UUID is cc168d39-9641-477f-8d3f-b2025a3a797c 2025-07-23 15:13:44,807 - DEBUG - Response for create_network : {'network': {'id': '2788fc1c-72d1-43b4-8880-763b8e2c5fde', 'name': 'ctest-right_ctest-TestMultiInlineSVC-60962556-88588084', 'tenant_id': '38f32248a5314cdca11e4a6292c89505', 'project_id': '38f32248a5314cdca11e4a6292c89505', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestMultiInlineSVC-60962556', 'ctest-right_ctest-TestMultiInlineSVC-60962556-88588084'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:13:45,121 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a796cb62-8e2b-4131-935b-2c7d807d1e01', 'name': '', 'tenant_id': '38f32248a5314cdca11e4a6292c89505', 'network_id': '2788fc1c-72d1-43b4-8880-763b8e2c5fde', 'ip_version': 4, 'cidr': '106.150.83.0/26', 'allocation_pools': [{'start': '106.150.83.2', 'end': '106.150.83.62'}], 'gateway_ip': '106.150.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.150.83.2', 'tags': [], 'project_id': '38f32248a5314cdca11e4a6292c89505'}} 2025-07-23 15:13:45,151 - INFO - Created VN ctest-right_ctest-TestMultiInlineSVC-60962556-88588084 2025-07-23 15:13:45,165 - DEBUG - VN ctest-right_ctest-TestMultiInlineSVC-60962556-88588084 UUID is 2788fc1c-72d1-43b4-8880-763b8e2c5fde 2025-07-23 15:13:45,318 - DEBUG - Services list from nova: [, , , ] 2025-07-23 15:13:46,391 - 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:13:47,854 - 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:13:47,856 - INFO - ================================================================================ 2025-07-23 15:13:47,856 - INFO - STARTING TEST : test_svc_fate_sharing_basic 2025-07-23 15:13:47,856 - INFO - TEST DESCRIPTION : Description: Basic test to validate fate sharing in a multi inline service chain with 2 SIs, 1 SVM each. Test steps: 1.Creating vm's - vm1 and vm2 in networks vn1 and vn2. 2.Creating 2 inline service instances SI1 and SI2. 3.Creating a service chain by applying the 2 service instances in a policy between t he VNs. 4.Associate an HC instance with right intf of one of the SVMs 5.Bring down the intf in the step 4 6.Verify that all the re-origined routes(ServiceChain) are deleted from all the RIs of all the SIs 7.Verify the step 6 in both control node and agent 8.Bring up the intf in the step 5 8.Verify that the routes should be re-originated again, and the traffic also starts flowing Pass criteria: Ping/Route deletion/Route addition should be successful. Maintainer : ankitja@juniper.net 2025-07-23 15:13:49,217 - 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:49,217 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:13:49,217 - INFO - 2025-07-23 15:13:49,217 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3704-2', 'an-jenkins-deploy-platform-ansible-os-3704-1']} 2025-07-23 15:13:49,218 - DEBUG - Creating service template: ['default-domain', 'ctest-service_template_1-75811406'] 2025-07-23 15:13:49,568 - DEBUG - Service template: ['default-domain', 'ctest-service_template_1-75811406'] created succesfully 2025-07-23 15:15:30,194 - DEBUG - Installing image tiny_in_net 2025-07-23 15:15:30,194 - 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:15:30,194 - DEBUG - Image build path file:///contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-23 15:15:30,194 - DEBUG - Download image from local file file:///contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-23 15:15:30,194 - DEBUG - Unzip image 2025-07-23 15:15:30,194 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-23 15:15:30,206 - DEBUG - Try to create image in user context 2025-07-23 15:15:30,287 - DEBUG - Deleting service template: ['default-domain', 'ctest-service_template_1-75811406'] 2025-07-23 15:15:30,387 - INFO - Service template: ['default-domain', 'ctest-service_template_1-75811406'] deleted successfully. 2025-07-23 15:15:31,701 - ERROR -
Traceback (most recent call last):
  File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/contrail-test/tcutils/util.py", line 1041, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "/contrail-test/scripts/ecmp/test_ecmp.py", line 735, in test_svc_fate_sharing_basic
    **self.common_args)
  File "/contrail-test/common/servicechain/firewall/verify.py", line 160, in verify_multi_inline_svc_with_fate_share
    ret_dict = self.config_multi_inline_svc(*args, si_list=si_list, **kwargs)
  File "/contrail-test/common/servicechain/config.py", line 723, in config_multi_inline_svc
    **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:15:31,729 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 15:15:31,729 - INFO -
2025-07-23 15:15:31,729 - INFO - END TEST : test_svc_fate_sharing_basic : FAILED[0:01:44]
2025-07-23 15:15:31,729 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:15:31,736 - INFO - ================================================================================ 2025-07-23 15:15:31,736 - INFO - STARTING TEST : test_three_stage_v2_SC 2025-07-23 15:15:31,736 - INFO - TEST DESCRIPTION : Description: Validate multi-Inline SVC version 2. Test steps: 1.Creating vm's - vm1 and vm2 in networks vn1 and vn2. 2.Creating 3 service instances. 3.Creating a service chain by applying the 3 service instances in a policy between t he VNs. 4.There should be no traffic loss. Pass criteria: Ping between the VMs should be successful. Maintainer : ganeshahv@juniper.net 2025-07-23 15:15:33,076 - 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:15:33,076 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:15:33,076 - INFO - 2025-07-23 15:15:33,077 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3704-2', 'an-jenkins-deploy-platform-ansible-os-3704-1']} 2025-07-23 15:15:33,077 - INFO - Skipped as test requires at least 3 nodes, but only 2 found 2025-07-23 15:15:34,417 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 15:15:34,418 - INFO -
2025-07-23 15:15:34,418 - INFO - END TEST : test_three_stage_v2_SC : SKIPPED[0:00:03]
2025-07-23 15:15:34,418 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:15:34,421 - INFO - Skip interface_detach for VM ctest-right_vm_ctest-TestMultiInlineSVC-60962556-68284205 in state BUILD 2025-07-23 15:15:34,421 - INFO - Deleting VM ctest-right_vm_ctest-TestMultiInlineSVC-60962556-68284205 2025-07-23 15:15:34,451 - ERROR - VM ctest-right_vm_ctest-TestMultiInlineSVC-60962556-68284205 has failed to come up 2025-07-23 15:15:34,451 - ERROR - Nova failed to get host of the VM 2025-07-23 15:15:34,451 - ERROR - VM ctest-right_vm_ctest-TestMultiInlineSVC-60962556-68284205 has failed to come up 2025-07-23 15:15:34,451 - ERROR - Nova failed to get host of the VM 2025-07-23 15:15:34,524 - INFO - Skip interface_detach for VM ctest-left_vm_ctest-TestMultiInlineSVC-60962556-43874785 in state BUILD 2025-07-23 15:15:34,524 - INFO - Deleting VM ctest-left_vm_ctest-TestMultiInlineSVC-60962556-43874785 2025-07-23 15:15:34,524 - ERROR - VM ctest-left_vm_ctest-TestMultiInlineSVC-60962556-43874785 has failed to come up 2025-07-23 15:15:34,524 - ERROR - Nova failed to get host of the VM 2025-07-23 15:15:34,524 - ERROR - VM ctest-left_vm_ctest-TestMultiInlineSVC-60962556-43874785 has failed to come up 2025-07-23 15:15:34,524 - ERROR - Nova failed to get host of the VM 2025-07-23 15:15:34,599 - INFO - Deleting VN ctest-left_ctest-TestMultiInlineSVC-60962556-79045377 2025-07-23 15:15:34,649 - DEBUG - VN cc168d39-9641-477f-8d3f-b2025a3a797c still in use: Unable to complete operation on network cc168d39-9641-477f-8d3f-b2025a3a797c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b4407b7-df0f-41b0-973e-f64384f8d7fd'] 2025-07-23 15:15:34,649 - WARNING - Deleting VN ctest-left_ctest-TestMultiInlineSVC-60962556-79045377 failed..Will retry 2025-07-23 15:15:36,841 - DEBUG - Response for deleting network () 2025-07-23 15:15:36,841 - INFO - Deleting VN ctest-right_ctest-TestMultiInlineSVC-60962556-88588084 2025-07-23 15:15:37,073 - DEBUG - Response for deleting network () 2025-07-23 15:15:37,073 - INFO - Deleting VN ctest-mgmt_ctest-TestMultiInlineSVC-60962556-19619553 2025-07-23 15:15:37,322 - DEBUG - Response for deleting network () 2025-07-23 15:15:38,178 - INFO - Deleted project: ctest-TestMultiInlineSVC-60962556, ID : 38f32248-a531-4cdc-a11e-4a6292c89505