2025-08-13 14:57:01,628 - INFO - Domain Default found not creating 2025-08-13 14:57:01,779 - INFO - Project ctest-TestRP-52677905 not found, creating it 2025-08-13 14:57:02,231 - INFO - Created Project:ctest-TestRP-52677905, ID : dbf09ca3-16b8-43c4-baf0-b0052d5b983e 2025-08-13 14:57:03,715 - DEBUG - Services list from nova: [, , ] 2025-08-13 14:57:03,715 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3839-1']} 2025-08-13 14:57:03,718 - INFO - ================================================================================ 2025-08-13 14:57:03,718 - INFO - STARTING TEST : test_rp_interface 2025-08-13 14:57:03,718 - INFO - TEST DESCRIPTION : 1. Create a routing policy with interface match. 2. Launch VMs. 3. Attach policy to VN and confirm if policy takes hold. 2025-08-13 14:57:03,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-08-13 14:57:03,977 - INFO - Initial checks done. Running the testcase now 2025-08-13 14:57:03,977 - INFO - 2025-08-13 14:57:04,889 - DEBUG - Response for create_network : {'network': {'id': 'bb72597c-c8b8-430a-b5d9-657fc789dfac', 'name': 'ctest-bgpaas_vn-72274229', 'tenant_id': 'dbf09ca316b843c4baf0b0052d5b983e', 'project_id': 'dbf09ca316b843c4baf0b0052d5b983e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-52677905', 'ctest-bgpaas_vn-72274229'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 14:57:05,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cf2d8f9-bd99-4153-9d5a-c632f8d91087', 'name': '', 'tenant_id': 'dbf09ca316b843c4baf0b0052d5b983e', 'network_id': 'bb72597c-c8b8-430a-b5d9-657fc789dfac', 'ip_version': 4, 'cidr': '199.92.84.64/26', 'allocation_pools': [{'start': '199.92.84.66', 'end': '199.92.84.126'}], 'gateway_ip': '199.92.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.92.84.66', 'tags': [], 'project_id': 'dbf09ca316b843c4baf0b0052d5b983e'}} 2025-08-13 14:57:05,109 - INFO - Created VN ctest-bgpaas_vn-72274229 2025-08-13 14:57:05,162 - DEBUG - VN ctest-bgpaas_vn-72274229 UUID is bb72597c-c8b8-430a-b5d9-657fc789dfac 2025-08-13 14:57:05,630 - DEBUG - Response for create_network : {'network': {'id': 'd64bb7ac-426c-4e0f-b8b8-2ffa7acc4320', 'name': 'ctest-bgpaas_vn-68717801', 'tenant_id': 'dbf09ca316b843c4baf0b0052d5b983e', 'project_id': 'dbf09ca316b843c4baf0b0052d5b983e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-52677905', 'ctest-bgpaas_vn-68717801'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 14:57:05,849 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d77869a-3bd0-47ac-bbdf-9d4868a076ce', 'name': '', 'tenant_id': 'dbf09ca316b843c4baf0b0052d5b983e', 'network_id': 'd64bb7ac-426c-4e0f-b8b8-2ffa7acc4320', 'ip_version': 4, 'cidr': '195.206.64.128/26', 'allocation_pools': [{'start': '195.206.64.130', 'end': '195.206.64.190'}], 'gateway_ip': '195.206.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.206.64.130', 'tags': [], 'project_id': 'dbf09ca316b843c4baf0b0052d5b983e'}} 2025-08-13 14:57:05,867 - INFO - Created VN ctest-bgpaas_vn-68717801 2025-08-13 14:57:05,918 - DEBUG - VN ctest-bgpaas_vn-68717801 UUID is d64bb7ac-426c-4e0f-b8b8-2ffa7acc4320 2025-08-13 14:57:07,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3839-1) 2025-08-13 14:57:08,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3839-1) 2025-08-13 14:57:08,572 - INFO - Waiting for VM test_vm to be up.. 2025-08-13 14:57:08,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 14:57:13,742 - DEBUG - VM is in ACTIVE state now 2025-08-13 14:57:13,742 - INFO - VM name : test_vm 2025-08-13 14:57:13,820 - DEBUG - VM test_vm ID is b6dcf0bf-c67f-4498-930e-65682b78b790 2025-08-13 14:57:13,841 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3839-1 2025-08-13 14:57:13,909 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b6dcf0bf-c67f-4498-930e-65682b78b790 2025-08-13 14:57:14,209 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b6dcf0bf-c67f-4498-930e-65682b78b790 2025-08-13 14:57:14,240 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2d88203b-6ed4-4559-9977-2df2cdc3a9d8 2025-08-13 14:57:17,515 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1035ms') 2025-08-13 14:57:17,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-13 14:57:17,570 - DEBUG - Gateway for vn default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229 is 199.92.84.65 and allocation pool is NOT set 2025-08-13 14:57:19,629 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.566/2.768/3.971/1.202 ms') 2025-08-13 14:57:19,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-13 14:57:19,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:19,790 - DEBUG - Waiting to SSH to VM test_vm, IP 199.92.84.67, Port 22 2025-08-13 14:57:19,850 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-13 14:57:19,924 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-13 14:57:24,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:24,925 - DEBUG - Waiting to SSH to VM test_vm, IP 199.92.84.67, Port 22 2025-08-13 14:57:25,082 - DEBUG - VM test_vm is ready for SSH connections 2025-08-13 14:57:25,082 - INFO - Waiting for VM test2_vm to be up.. 2025-08-13 14:57:25,153 - DEBUG - VM is in ACTIVE state now 2025-08-13 14:57:25,153 - INFO - VM name : test2_vm 2025-08-13 14:57:25,225 - DEBUG - VM test2_vm ID is 17163489-678e-4cfd-a01d-5d952a5fe110 2025-08-13 14:57:25,225 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3839-1 2025-08-13 14:57:25,295 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/17163489-678e-4cfd-a01d-5d952a5fe110 2025-08-13 14:57:25,303 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/95a97c39-3d15-4509-8a50-b8d9366c7aef 2025-08-13 14:57:26,535 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.345/1.600/2.855/1.255 ms') 2025-08-13 14:57:26,535 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-13 14:57:26,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:26,686 - DEBUG - Waiting to SSH to VM test2_vm, IP 195.206.64.131, Port 22 2025-08-13 14:57:26,842 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-13 14:57:26,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:26,997 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:28,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:28,016 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:29,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:29,032 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:30,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:30,047 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:31,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:31,065 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:32,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:32,081 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:33,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:33,098 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:34,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:34,114 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:35,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:35,129 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:36,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:36,146 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:37,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:57:37,163 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-52677905:ctest-bgpaas_vn-72274229:ctest-bgpaas_vn-72274229.inet.0 2025-08-13 14:57:37,228 - INFO - Deleting VM test2_vm 2025-08-13 14:57:37,295 - INFO - Deleting VM test_vm 2025-08-13 14:57:37,360 - INFO - Deleting VN ctest-bgpaas_vn-68717801 2025-08-13 14:57:37,398 - DEBUG - VN d64bb7ac-426c-4e0f-b8b8-2ffa7acc4320 still in use: Unable to complete operation on network d64bb7ac-426c-4e0f-b8b8-2ffa7acc4320. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a703da08-e1ae-407b-a844-c3cc41db5389'] 2025-08-13 14:57:37,399 - WARNING - Deleting VN ctest-bgpaas_vn-68717801 failed..Will retry 2025-08-13 14:57:39,496 - DEBUG - Response for deleting network () 2025-08-13 14:57:39,496 - INFO - Deleting VN ctest-bgpaas_vn-72274229 2025-08-13 14:57:39,593 - DEBUG - Response for deleting network () 2025-08-13 14:57:39,842 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Wed Aug 13 14:57:37 2025 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/routing_policy/test_routing_policy.py in test_rp_interface(self=) 44 config_dicts = {'vn_fixture':vn_fixture, 'from_term':'protocol', 'sub_from':'interface', 'to_term':'community', 'sub_to':'64512:55555'} 45 rp = self.configure_term_routing_policy(config_dicts) 46 assert self.verify_policy_in_control(vn_fixture, test_vm, search_value = '55555'), 'Search term not found in introspect' 47 assert test_vm.ping_with_certainty(test2_vm.vm_ip) 48 self = self.verify_policy_in_control = .deco_retry....p_interface[ci_sanity,sanity] id=0x7f0b74cea668>> vn_fixture = test_vm = search_value undefined AssertionError: Search term not found in introspect __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ('Search term not found in introspect',) with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/routing_policy/test_routing_policy.py", line 46, in test_rp_interface assert self.verify_policy_in_control(vn_fixture, test_vm, search_value = '55555'), 'Search term not found in introspect' AssertionError: Search term not found in introspect 2025-08-13 14:57:39,850 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 14:57:39,850 - INFO - 2025-08-13 14:57:39,850 - INFO - END TEST : test_rp_interface : FAILED[0:00:36] 2025-08-13 14:57:39,850 - INFO - -------------------------------------------------------------------------------- 2025-08-13 14:57:40,527 - INFO - Deleted project: ctest-TestRP-52677905, ID : dbf09ca3-16b8-43c4-baf0-b0052d5b983e