2025-07-31 05:54:49,578 - INFO - Domain Default found not creating 2025-07-31 05:54:50,058 - INFO - Project ctest-TestDropStats-08611928 not found, creating it 2025-07-31 05:54:50,690 - INFO - Created Project:ctest-TestDropStats-08611928, ID : ff345737-2aa6-4f2f-b910-41643dd49661 2025-07-31 05:54:52,609 - INFO - ================================================================================ 2025-07-31 05:54:52,609 - INFO - STARTING TEST : test_flow_action_drop_stats 2025-07-31 05:54:52,610 - INFO - TEST DESCRIPTION : Description: Verify flow action drop stats Steps: 1. Create 2 VNs and launch 1 VM in each VN, on different nodes on multi node setup 2. Add policy to deny pkts between VNs. 3. Ping VM2 from VM1 Pass criteria: 1. Verify flow action count gets incremented, get it from introspect 2. Verify flow action count gets incremented for the vmi of VM1, get it from introspect 2025-07-31 05:54:53,981 - DEBUG - Skipping xmpp flap check 2025-07-31 05:54:53,982 - INFO - Initial checks done. Running the testcase now 2025-07-31 05:54:53,982 - INFO - 2025-07-31 05:54:54,043 - DEBUG - Services list from nova: [, , , ] 2025-07-31 05:54:54,043 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3732-1', 'an-jenkins-deploy-platform-ansible-os-3732-2']} 2025-07-31 05:54:55,049 - DEBUG - Response for create_network : {'network': {'id': 'a9831fae-bdaa-4af0-8d43-aa470206f206', 'name': 'ctest-vn-23054275', 'tenant_id': 'ff3457372aa64f2fb91041643dd49661', 'project_id': 'ff3457372aa64f2fb91041643dd49661', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-08611928', 'ctest-vn-23054275'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 05:54:55,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '29d6d453-7dca-4a7d-8886-dd6d7fd7013b', 'name': '', 'tenant_id': 'ff3457372aa64f2fb91041643dd49661', 'network_id': 'a9831fae-bdaa-4af0-8d43-aa470206f206', 'ip_version': 4, 'cidr': '220.163.37.0/26', 'allocation_pools': [{'start': '220.163.37.2', 'end': '220.163.37.62'}], 'gateway_ip': '220.163.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.163.37.2', 'tags': [], 'project_id': 'ff3457372aa64f2fb91041643dd49661'}} 2025-07-31 05:54:55,463 - INFO - Created VN ctest-vn-23054275 2025-07-31 05:54:55,480 - DEBUG - VN ctest-vn-23054275 UUID is a9831fae-bdaa-4af0-8d43-aa470206f206 2025-07-31 05:54:55,886 - DEBUG - Response for create_network : {'network': {'id': '895c697a-96d7-4896-bbd8-6b3c9f317c8c', 'name': 'ctest-vn-07679309', 'tenant_id': 'ff3457372aa64f2fb91041643dd49661', 'project_id': 'ff3457372aa64f2fb91041643dd49661', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-08611928', 'ctest-vn-07679309'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 05:54:56,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b77be37-e57e-4450-9e41-12149ea0315a', 'name': '', 'tenant_id': 'ff3457372aa64f2fb91041643dd49661', 'network_id': '895c697a-96d7-4896-bbd8-6b3c9f317c8c', 'ip_version': 4, 'cidr': '93.29.125.0/26', 'allocation_pools': [{'start': '93.29.125.2', 'end': '93.29.125.62'}], 'gateway_ip': '93.29.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.29.125.2', 'tags': [], 'project_id': 'ff3457372aa64f2fb91041643dd49661'}} 2025-07-31 05:54:56,163 - INFO - Created VN ctest-vn-07679309 2025-07-31 05:54:56,182 - DEBUG - VN ctest-vn-07679309 UUID is 895c697a-96d7-4896-bbd8-6b3c9f317c8c 2025-07-31 05:54:57,960 - 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 05:54:59,593 - 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 05:54:59,594 - INFO - Waiting for VM ctest-vm1-53389408 to be up.. 2025-07-31 05:54:59,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 05:55:04,885 - DEBUG - VM is in ACTIVE state now 2025-07-31 05:55:04,885 - INFO - VM name : ctest-vm1-53389408 2025-07-31 05:55:05,044 - DEBUG - VM ctest-vm1-53389408 ID is 683a3887-a404-485b-9a36-5772083d7aed 2025-07-31 05:55:05,077 - DEBUG - VM ctest-vm1-53389408 launched on Node an-jenkins-deploy-platform-ansible-os-3732-1 2025-07-31 05:55:05,200 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/683a3887-a404-485b-9a36-5772083d7aed 2025-07-31 05:55:05,498 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/683a3887-a404-485b-9a36-5772083d7aed 2025-07-31 05:55:05,538 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/202ff7da-d5b7-441f-83bd-ac78c0a33e03 2025-07-31 05:55:08,750 - 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 1003ms') 2025-07-31 05:55:08,750 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-53389408 failed! 2025-07-31 05:55:08,769 - DEBUG - Gateway for vn default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275 is 220.163.37.1 and allocation pool is NOT set 2025-07-31 05:55:10,836 - 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=4.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.602 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 = 0.602/2.528/4.454/1.926 ms') 2025-07-31 05:55:10,837 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-53389408 passed 2025-07-31 05:55:10,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 05:55:10,923 - DEBUG - Waiting to SSH to VM ctest-vm1-53389408, IP 220.163.37.3, Port 22 2025-07-31 05:55:11,094 - DEBUG - VM ctest-vm1-53389408 is ready for SSH connections 2025-07-31 05:55:11,094 - INFO - Waiting for VM ctest-vm2-33846566 to be up.. 2025-07-31 05:55:11,232 - DEBUG - VM is in ACTIVE state now 2025-07-31 05:55:11,232 - INFO - VM name : ctest-vm2-33846566 2025-07-31 05:55:11,354 - DEBUG - VM ctest-vm2-33846566 ID is 6b677f4c-887c-49f4-8f5c-3f51c66b0b9d 2025-07-31 05:55:11,354 - DEBUG - VM ctest-vm2-33846566 launched on Node an-jenkins-deploy-platform-ansible-os-3732-2 2025-07-31 05:55:11,464 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/6b677f4c-887c-49f4-8f5c-3f51c66b0b9d 2025-07-31 05:55:11,478 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/c5911456-d973-40a5-a8b6-3bf44c320a68 2025-07-31 05:55:14,673 - 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=2 ttl=63 time=5.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 5.377/5.377/5.377/0.000 ms') 2025-07-31 05:55:14,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-33846566 passed 2025-07-31 05:55:14,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 05:55:14,790 - DEBUG - Waiting to SSH to VM ctest-vm2-33846566, IP 93.29.125.3, Port 22 2025-07-31 05:55:14,862 - 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-07-31 05:55:14,991 - DEBUG - VM ctest-vm2-33846566 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-31 05:55:19,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 05:55:19,992 - DEBUG - Waiting to SSH to VM ctest-vm2-33846566, IP 93.29.125.3, Port 22 2025-07-31 05:55:20,178 - DEBUG - VM ctest-vm2-33846566 is ready for SSH connections 2025-07-31 05:55:20,285 - DEBUG - VM is in ACTIVE state now 2025-07-31 05:55:20,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 05:55:20,285 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/683a3887-a404-485b-9a36-5772083d7aed 2025-07-31 05:55:20,296 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/202ff7da-d5b7-441f-83bd-ac78c0a33e03 2025-07-31 05:55:20,311 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/683a3887-a404-485b-9a36-5772083d7aed 2025-07-31 05:55:20,322 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/202ff7da-d5b7-441f-83bd-ac78c0a33e03 2025-07-31 05:55:20,338 - DEBUG - Requesting: http://10.0.0.61:8082/instance-ip/a2efcf67-9540-45bc-9a9f-61a7198c4511 2025-07-31 05:55:20,354 - DEBUG - Verifying in api server 10.0.0.61 2025-07-31 05:55:20,354 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/683a3887-a404-485b-9a36-5772083d7aed 2025-07-31 05:55:20,371 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/202ff7da-d5b7-441f-83bd-ac78c0a33e03 2025-07-31 05:55:20,386 - DEBUG - Requesting: http://10.0.0.61:8082/instance-ip/a2efcf67-9540-45bc-9a9f-61a7198c4511 2025-07-31 05:55:20,398 - INFO - VM ctest-vm1-53389408 verfication in all API Servers passed 2025-07-31 05:55:20,424 - DEBUG - VM ctest-vm1-53389408 Tap interface: {'index': '3', 'name': 'tap202ff7da-d5', 'uuid': '202ff7da-d5b7-441f-83bd-ac78c0a33e03', 'vrf_name': 'default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275:ctest-vn-23054275', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '13', 'vn_name': 'default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275', 'vm_uuid': '683a3887-a404-485b-9a36-5772083d7aed', 'vm_name': 'ctest-vm1-53389408', 'ip_addr': '220.163.37.3', 'mac_addr': '02:20:2f:f7:da:d5', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '130', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestDropStats-08611928:202ff7da-d5b7-441f-83bd-ac78c0a33e03', 'sg_uuid_list': ['fbfcb57d-20ef-41bb-a978-251a952850fe'], 'static_route_list': None, 'vm_project_uuid': 'ff345737-2aa6-4f2f-b910-41643dd49661', 'admin_state': 'Enabled', 'flow_key_idx': '27', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []} 2025-07-31 05:55:20,424 - DEBUG - Agent 10.0.0.27 vrf name: default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275:ctest-vn-23054275 2025-07-31 05:55:20,431 - DEBUG - Agent VRF Object : {'vrf_list': [{'name': 'default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275:ctest-vn-23054275', 'ucindex': '2', 'mcindex': '2', 'l2index': '2', 'source': 'Config; ', 'uc6index': '2', 'vn': 'default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275', 'table_label': '-1', 'vxlan_id': '13', 'evpnindex': '2', 'brindex': '2', 'mplsindex': '0', 'RD': '10.20.0.192:2', 'mac_aging_time': '0', 'layer2_control_word': 'false', 'forwarding_vrf': None, 'hbf_rintf': '-1', 'hbf_lintf': '-1'}]} 2025-07-31 05:55:20,534 - DEBUG - VM ctest-vm1-53389408 : Tap interface tap202ff7da-d5 is set to Active 2025-07-31 05:55:20,534 - DEBUG - Tap interface tap202ff7da-d5 detail : {'index': '3', 'name': 'tap202ff7da-d5', 'uuid': '202ff7da-d5b7-441f-83bd-ac78c0a33e03', 'vrf_name': 'default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275:ctest-vn-23054275', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '13', 'vn_name': 'default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275', 'vm_uuid': '683a3887-a404-485b-9a36-5772083d7aed', 'vm_name': 'ctest-vm1-53389408', 'ip_addr': '220.163.37.3', 'mac_addr': '02:20:2f:f7:da:d5', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '130', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestDropStats-08611928:202ff7da-d5b7-441f-83bd-ac78c0a33e03', 'sg_uuid_list': ['fbfcb57d-20ef-41bb-a978-251a952850fe'], 'static_route_list': None, 'vm_project_uuid': 'ff345737-2aa6-4f2f-b910-41643dd49661', 'admin_state': 'Enabled', 'flow_key_idx': '27', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []} 2025-07-31 05:55:20,670 - DEBUG - Starting Layer 2 verification in Agent 2025-07-31 05:55:20,702 - DEBUG - Layer 2 path is seen for VM MAC 02:20:2f:f7:da:d5 in agent 10.0.0.27 2025-07-31 05:55:20,702 - DEBUG - Active layer 2 route in agent is present for VMI tap202ff7da-d5 2025-07-31 05:55:20,702 - DEBUG - L2 label(29) matches bw route table and interface table 2025-07-31 05:55:20,720 - DEBUG - VN default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275 is found in Agent of node 10.0.0.27 2025-07-31 05:55:20,854 - DEBUG - VRF IDs of VN default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275 is consistent in agent 10.0.0.27 2025-07-31 05:55:20,854 - DEBUG - Route for VM IP ['220.163.37.3'] is consistent in agent 10.0.0.27 2025-07-31 05:55:20,855 - DEBUG - VN default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275 verification for VM ctest-vm1-53389408 in Agent 10.0.0.27 passed 2025-07-31 05:55:20,985 - DEBUG - Starting all layer 2 verification in agent 10.0.0.27 2025-07-31 05:55:21,004 - DEBUG - Route for VM MAC 02:20:2f:f7:da:d5 is consistent in agent 10.0.0.27 2025-07-31 05:55:21,013 - INFO - VM ctest-vm1-53389408 verifications in Compute nodes passed 2025-07-31 05:55:21,300 - DEBUG - Validated VM route 220.163.37.3 in vrouter of 10.0.0.27 2025-07-31 05:55:21,305 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: None, 0; Got None,0 2025-07-31 05:55:21,305 - INFO - Validated routes of VM ctest-vm1-53389408 in all vrouters 2025-07-31 05:55:21,563 - INFO - Deleting VM ctest-vm2-33846566 2025-07-31 05:55:21,651 - INFO - Deleting VM ctest-vm1-53389408 2025-07-31 05:55:21,799 - INFO - Deleting VN ctest-vn-07679309 2025-07-31 05:55:21,869 - DEBUG - VN 895c697a-96d7-4896-bbd8-6b3c9f317c8c still in use: Unable to complete operation on network 895c697a-96d7-4896-bbd8-6b3c9f317c8c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99b9d742-b1a7-492c-b445-ed7c813cf62c'] 2025-07-31 05:55:21,870 - WARNING - Deleting VN ctest-vn-07679309 failed..Will retry 2025-07-31 05:55:24,129 - DEBUG - Response for deleting network () 2025-07-31 05:55:24,129 - INFO - Deleting VN ctest-vn-23054275 2025-07-31 05:55:24,354 - DEBUG - Response for deleting network () 2025-07-31 05:55:25,723 - ERROR - AttributeError Python 3.6.8: /usr/bin/python3 Thu Jul 31 05:55:21 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/serial_scripts/vrouter/test_drop_stats.py in test_flow_action_drop_stats(self=) 36 raise self.skipTest("Skipping test case,this test needs atleast 2 compute nodes") 37 38 assert self.verify_flow_action_drop_stats() 39 return True 40 # end test_drop_stats self = self.verify_flow_action_drop_stats = > /contrail-test/common/vrouter/base_drop_stats.py in verify_flow_action_drop_stats(self=, drop_type='ds_flow_action_drop') 45 compute1 = compute_ips[1] 46 compute1_name = self.inputs.host_data[compute1]['name'] 47 vm1_fixture, _, _, vm2_ip = self.create_verify_vn_vm(compute0_name, compute1_name, image_name) 48 49 tap = vm1_fixture.get_tap_intf_of_vm()[0]['name'] vm1_fixture undefined _ undefined vm2_ip undefined self = self.create_verify_vn_vm = > compute0_name = 'an-jenkins-deploy-platform-ansible-os-3732-1' compute1_name = 'an-jenkins-deploy-platform-ansible-os-3732-2' image_name = 'cirros' /contrail-test/common/vrouter/base_drop_stats.py in create_verify_vn_vm(self=, compute0_name='an-jenkins-deploy-platform-ansible-os-3732-1', compute1_name='an-jenkins-deploy-platform-ansible-os-3732-2', image_name='cirros') 128 vm1_fixture.wait_till_vm_is_up() 129 vm2_fixture.wait_till_vm_is_up() 130 assert vm1_fixture.verify_on_setup() 131 assert vm2_fixture.verify_on_setup() 132 vm1_ip = vm1_fixture.get_vm_ips(vn1_fq_name)[0] vm1_fixture = vm1_fixture.verify_on_setup = > /contrail-test/fixtures/vm_test.py in verify_on_setup(self=, force=False, refresh=False) 715 % (self.vm_name)) 716 return result 717 result = self.verify_vm_in_control_nodes() 718 if not result: 719 self.logger.error('Route verification for VM %s in Controlnodes' result = True self = self.verify_vm_in_control_nodes = .deco_retry..f_retry of > /contrail-test/tcutils/util.py in f_retry(*args=(,), **kwargs={}) 82 mtries, mdelay = tries, delay # make mutable 83 84 result = f(*args, **kwargs) # first attempt 85 rv = result 86 final = False result undefined f = args = (,) kwargs = {} /contrail-test/fixtures/vm_test.py in verify_vm_in_control_nodes(self=) 1653 for vn_fq_name in self.vn_fq_names: 1654 if self.vnc_lib_fixture.get_active_forwarding_mode(vn_fq_name) != 'l2': 1655 for cn in self.get_ctrl_nodes_in_rt_group(vn_fq_name): 1656 vn_name = vn_fq_name.split(':')[-1] 1657 ri_name = vn_fq_name + ':' + vn_name cn undefined self = self.get_ctrl_nodes_in_rt_group = > vn_fq_name = 'default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275' /contrail-test/fixtures/vm_test.py in get_ctrl_nodes_in_rt_group(self=, vn_fq_name='default-domain:ctest-TestDropStats-08611928:ctest-vn-23054275') 1627 for rt in rt_list: 1628 rt_group_entry = self.cn_inspect[ 1629 ctrl_node].get_cn_rtarget_group(rt) 1630 if type(rt_group_entry) is list: 1631 for rt_group in rt_group_entry: ctrl_node = '10.0.0.38' ].get_cn_rtarget_group undefined rt = 'target:64512:8000007' /contrail-test/tcutils/control/cn_introspect_utils.py in get_cn_rtarget_group(self=, route_target='target:64512:8000007') 211 xpath = '/ShowRtGroupResp/rtgroup_list/list/ShowRtGroupInfo' 212 p = self.dict_get(path) 213 return EtreeToDict(xpath).get_all_entry(p) 214 215 def get_cn_rtarget_table(self): global EtreeToDict = xpath = '/ShowRtGroupResp/rtgroup_list/list/ShowRtGroupInfo' ).get_all_entry undefined p = None /contrail-test/tcutils/verification_util.py in get_all_entry(self=, path=None) 364 Returns the list of dictionary/didctionary. 365 """ 366 xps = path.xpath(self.xpath) 367 if not xps: 368 # sometime ./xpath dosen't work; work around xps undefined path = None path.xpath undefined self = self.xpath = '/ShowRtGroupResp/rtgroup_list/list/ShowRtGroupInfo' AttributeError: 'NoneType' object has no attribute 'xpath' __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Attribute not found.' __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 = ("'NoneType' object has no attribute 'xpath'",) 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/serial_scripts/vrouter/test_drop_stats.py", line 38, in test_flow_action_drop_stats assert self.verify_flow_action_drop_stats() File "/contrail-test/common/vrouter/base_drop_stats.py", line 47, in verify_flow_action_drop_stats vm1_fixture, _, _, vm2_ip = self.create_verify_vn_vm(compute0_name, compute1_name, image_name) File "/contrail-test/common/vrouter/base_drop_stats.py", line 130, in create_verify_vn_vm assert vm1_fixture.verify_on_setup() File "/contrail-test/fixtures/vm_test.py", line 717, in verify_on_setup result = self.verify_vm_in_control_nodes() File "/contrail-test/tcutils/util.py", line 84, in f_retry result = f(*args, **kwargs) # first attempt File "/contrail-test/fixtures/vm_test.py", line 1655, in verify_vm_in_control_nodes for cn in self.get_ctrl_nodes_in_rt_group(vn_fq_name): File "/contrail-test/fixtures/vm_test.py", line 1629, in get_ctrl_nodes_in_rt_group ctrl_node].get_cn_rtarget_group(rt) File "/contrail-test/tcutils/control/cn_introspect_utils.py", line 213, in get_cn_rtarget_group return EtreeToDict(xpath).get_all_entry(p) File "/contrail-test/tcutils/verification_util.py", line 366, in get_all_entry xps = path.xpath(self.xpath) AttributeError: 'NoneType' object has no attribute 'xpath' 2025-07-31 05:55:25,725 - DEBUG - Skipping xmpp flap check 2025-07-31 05:55:25,725 - INFO - 2025-07-31 05:55:25,725 - INFO - END TEST : test_flow_action_drop_stats : FAILED[0:00:33] 2025-07-31 05:55:25,725 - INFO - -------------------------------------------------------------------------------- 2025-07-31 05:55:26,557 - INFO - Deleted project: ctest-TestDropStats-08611928, ID : ff345737-2aa6-4f2f-b910-41643dd49661