2025-07-22 15:23:06,629 - INFO - Domain Default found not creating 2025-07-22 15:23:06,784 - INFO - Project ctest-TestMultiInlineSVC-91017838 not found, creating it 2025-07-22 15:23:07,407 - INFO - Created Project:ctest-TestMultiInlineSVC-91017838, ID : 45cf4f6e-87c4-420c-8c89-eed887a399b0 2025-07-22 15:23:09,558 - DEBUG - Response for create_network : {'network': {'id': '0a1c7269-75a8-4e8a-85bf-1679d3939224', 'name': 'ctest-mgmt_ctest-TestMultiInlineSVC-91017838-98165341', 'tenant_id': '45cf4f6e87c4420c8c89eed887a399b0', 'project_id': '45cf4f6e87c4420c8c89eed887a399b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestMultiInlineSVC-91017838', 'ctest-mgmt_ctest-TestMultiInlineSVC-91017838-98165341'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:23:09,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '4178fad2-2030-431f-8d03-e1c9bf5801da', 'name': '', 'tenant_id': '45cf4f6e87c4420c8c89eed887a399b0', 'network_id': '0a1c7269-75a8-4e8a-85bf-1679d3939224', 'ip_version': 4, 'cidr': '16.56.187.128/26', 'allocation_pools': [{'start': '16.56.187.130', 'end': '16.56.187.190'}], 'gateway_ip': '16.56.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.56.187.130', 'tags': [], 'project_id': '45cf4f6e87c4420c8c89eed887a399b0'}} 2025-07-22 15:23:09,883 - INFO - Created VN ctest-mgmt_ctest-TestMultiInlineSVC-91017838-98165341 2025-07-22 15:23:09,903 - DEBUG - VN ctest-mgmt_ctest-TestMultiInlineSVC-91017838-98165341 UUID is 0a1c7269-75a8-4e8a-85bf-1679d3939224 2025-07-22 15:23:10,283 - DEBUG - Response for create_network : {'network': {'id': '1e17b2b4-39de-441d-a54e-3b6ee818ffdb', 'name': 'ctest-left_ctest-TestMultiInlineSVC-91017838-33150569', 'tenant_id': '45cf4f6e87c4420c8c89eed887a399b0', 'project_id': '45cf4f6e87c4420c8c89eed887a399b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestMultiInlineSVC-91017838', 'ctest-left_ctest-TestMultiInlineSVC-91017838-33150569'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:23:10,517 - DEBUG - Response for create_subnet : {'subnet': {'id': '42889cd4-583a-4f72-bdb0-dd3206fa07de', 'name': '', 'tenant_id': '45cf4f6e87c4420c8c89eed887a399b0', 'network_id': '1e17b2b4-39de-441d-a54e-3b6ee818ffdb', 'ip_version': 4, 'cidr': '30.13.39.128/26', 'allocation_pools': [{'start': '30.13.39.130', 'end': '30.13.39.190'}], 'gateway_ip': '30.13.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.13.39.130', 'tags': [], 'project_id': '45cf4f6e87c4420c8c89eed887a399b0'}} 2025-07-22 15:23:10,544 - INFO - Created VN ctest-left_ctest-TestMultiInlineSVC-91017838-33150569 2025-07-22 15:23:10,559 - DEBUG - VN ctest-left_ctest-TestMultiInlineSVC-91017838-33150569 UUID is 1e17b2b4-39de-441d-a54e-3b6ee818ffdb 2025-07-22 15:23:10,984 - DEBUG - Response for create_network : {'network': {'id': '1c8beea7-6eda-4389-a900-3f70847feba9', 'name': 'ctest-right_ctest-TestMultiInlineSVC-91017838-27190117', 'tenant_id': '45cf4f6e87c4420c8c89eed887a399b0', 'project_id': '45cf4f6e87c4420c8c89eed887a399b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestMultiInlineSVC-91017838', 'ctest-right_ctest-TestMultiInlineSVC-91017838-27190117'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:23:11,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '91fe8580-27e6-4e84-b790-9d7929e2d1b6', 'name': '', 'tenant_id': '45cf4f6e87c4420c8c89eed887a399b0', 'network_id': '1c8beea7-6eda-4389-a900-3f70847feba9', 'ip_version': 4, 'cidr': '199.116.231.128/26', 'allocation_pools': [{'start': '199.116.231.130', 'end': '199.116.231.190'}], 'gateway_ip': '199.116.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.116.231.130', 'tags': [], 'project_id': '45cf4f6e87c4420c8c89eed887a399b0'}} 2025-07-22 15:23:11,269 - INFO - Created VN ctest-right_ctest-TestMultiInlineSVC-91017838-27190117 2025-07-22 15:23:11,288 - DEBUG - VN ctest-right_ctest-TestMultiInlineSVC-91017838-27190117 UUID is 1c8beea7-6eda-4389-a900-3f70847feba9 2025-07-22 15:23:11,423 - DEBUG - Services list from nova: [, , , ] 2025-07-22 15:23:12,508 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:23:13,919 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:23:13,921 - INFO - ================================================================================ 2025-07-22 15:23:13,922 - INFO - STARTING TEST : test_svc_fate_sharing_basic 2025-07-22 15:23:13,922 - 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-22 15:23:15,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-07-22 15:23:15,233 - INFO - Initial checks done. Running the testcase now 2025-07-22 15:23:15,233 - INFO - 2025-07-22 15:23:15,233 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3693-2', 'an-jenkins-deploy-platform-ansible-os-3693-1']} 2025-07-22 15:23:15,233 - DEBUG - Creating service template: ['default-domain', 'ctest-service_template_1-53019621'] 2025-07-22 15:23:15,556 - DEBUG - Service template: ['default-domain', 'ctest-service_template_1-53019621'] created succesfully 2025-07-22 15:24:56,299 - DEBUG - Installing image tiny_in_net 2025-07-22 15:24:56,299 - 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-22 15:24:56,300 - DEBUG - Image build path file:///contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-22 15:24:56,300 - DEBUG - Download image from local file file:///contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-22 15:24:56,300 - DEBUG - Unzip image 2025-07-22 15:24:56,300 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/tinycore-in-network.qcow2.gz 2025-07-22 15:24:56,317 - DEBUG - Try to create image in user context 2025-07-22 15:24:56,387 - DEBUG - Deleting service template: ['default-domain', 'ctest-service_template_1-53019621'] 2025-07-22 15:24:56,504 - INFO - Service template: ['default-domain', 'ctest-service_template_1-53019621'] deleted successfully. 2025-07-22 15:24:57,764 - 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 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-22 15:24:57,781 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 15:24:57,781 - INFO - 2025-07-22 15:24:57,781 - INFO - END TEST : test_svc_fate_sharing_basic : FAILED[0:01:44] 2025-07-22 15:24:57,781 - INFO - -------------------------------------------------------------------------------- 2025-07-22 15:24:57,784 - INFO - ================================================================================ 2025-07-22 15:24:57,785 - INFO - STARTING TEST : test_three_stage_v2_SC 2025-07-22 15:24:57,785 - 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-22 15:24:59,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-07-22 15:24:59,073 - INFO - Initial checks done. Running the testcase now 2025-07-22 15:24:59,073 - INFO - 2025-07-22 15:24:59,073 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3693-2', 'an-jenkins-deploy-platform-ansible-os-3693-1']} 2025-07-22 15:24:59,073 - INFO - Skipped as test requires at least 3 nodes, but only 2 found 2025-07-22 15:25:00,384 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 15:25:00,384 - INFO - 2025-07-22 15:25:00,384 - INFO - END TEST : test_three_stage_v2_SC : SKIPPED[0:00:03] 2025-07-22 15:25:00,384 - INFO - -------------------------------------------------------------------------------- 2025-07-22 15:25:00,385 - INFO - Skip interface_detach for VM ctest-right_vm_ctest-TestMultiInlineSVC-91017838-65874318 in state BUILD 2025-07-22 15:25:00,386 - INFO - Deleting VM ctest-right_vm_ctest-TestMultiInlineSVC-91017838-65874318 2025-07-22 15:25:00,413 - ERROR - VM ctest-right_vm_ctest-TestMultiInlineSVC-91017838-65874318 has failed to come up 2025-07-22 15:25:00,413 - ERROR - Nova failed to get host of the VM 2025-07-22 15:25:00,414 - ERROR - VM ctest-right_vm_ctest-TestMultiInlineSVC-91017838-65874318 has failed to come up 2025-07-22 15:25:00,414 - ERROR - Nova failed to get host of the VM 2025-07-22 15:25:00,473 - INFO - Skip interface_detach for VM ctest-left_vm_ctest-TestMultiInlineSVC-91017838-04686610 in state BUILD 2025-07-22 15:25:00,473 - INFO - Deleting VM ctest-left_vm_ctest-TestMultiInlineSVC-91017838-04686610 2025-07-22 15:25:00,473 - ERROR - VM ctest-left_vm_ctest-TestMultiInlineSVC-91017838-04686610 has failed to come up 2025-07-22 15:25:00,473 - ERROR - Nova failed to get host of the VM 2025-07-22 15:25:00,473 - ERROR - VM ctest-left_vm_ctest-TestMultiInlineSVC-91017838-04686610 has failed to come up 2025-07-22 15:25:00,473 - ERROR - Nova failed to get host of the VM 2025-07-22 15:25:00,537 - INFO - Deleting VN ctest-left_ctest-TestMultiInlineSVC-91017838-33150569 2025-07-22 15:25:00,580 - DEBUG - VN 1e17b2b4-39de-441d-a54e-3b6ee818ffdb still in use: Unable to complete operation on network 1e17b2b4-39de-441d-a54e-3b6ee818ffdb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-19803ad3-b583-4f6f-88f8-c5a249ad7b38'] 2025-07-22 15:25:00,580 - WARNING - Deleting VN ctest-left_ctest-TestMultiInlineSVC-91017838-33150569 failed..Will retry 2025-07-22 15:25:02,774 - DEBUG - Response for deleting network () 2025-07-22 15:25:02,775 - INFO - Deleting VN ctest-right_ctest-TestMultiInlineSVC-91017838-27190117 2025-07-22 15:25:03,016 - DEBUG - Response for deleting network () 2025-07-22 15:25:03,016 - INFO - Deleting VN ctest-mgmt_ctest-TestMultiInlineSVC-91017838-98165341 2025-07-22 15:25:03,323 - DEBUG - Response for deleting network () 2025-07-22 15:25:04,101 - INFO - Deleted project: ctest-TestMultiInlineSVC-91017838, ID : 45cf4f6e-87c4-420c-8c89-eed887a399b0