2025-07-22 18:18:54,912 - INFO - Domain Default found not creating 2025-07-22 18:18:55,060 - INFO - Project ctest-TestDropStats-05535707 not found, creating it 2025-07-22 18:18:55,641 - INFO - Created Project:ctest-TestDropStats-05535707, ID : 42faa4d4-7930-4860-b67a-5a6ba16f01aa 2025-07-22 18:18:57,063 - INFO - ================================================================================ 2025-07-22 18:18:57,063 - INFO - STARTING TEST : test_flow_action_drop_stats 2025-07-22 18:18:57,063 - 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-22 18:18:58,317 - DEBUG - Skipping xmpp flap check 2025-07-22 18:18:58,317 - INFO - Initial checks done. Running the testcase now 2025-07-22 18:18:58,317 - INFO - 2025-07-22 18:18:58,341 - DEBUG - Services list from nova: [, , , ] 2025-07-22 18:18:58,341 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3693-2', 'an-jenkins-deploy-platform-ansible-os-3693-1']} 2025-07-22 18:18:59,023 - DEBUG - Response for create_network : {'network': {'id': 'b7acb9b1-81ed-4faf-8b18-a0ecfcef0663', 'name': 'ctest-vn-34254429', 'tenant_id': '42faa4d479304860b67a5a6ba16f01aa', 'project_id': '42faa4d479304860b67a5a6ba16f01aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-05535707', 'ctest-vn-34254429'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 18:18:59,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e889b90-33b6-4f36-9fa9-8baf1722ad07', 'name': '', 'tenant_id': '42faa4d479304860b67a5a6ba16f01aa', 'network_id': 'b7acb9b1-81ed-4faf-8b18-a0ecfcef0663', 'ip_version': 4, 'cidr': '41.115.206.128/26', 'allocation_pools': [{'start': '41.115.206.130', 'end': '41.115.206.190'}], 'gateway_ip': '41.115.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.115.206.130', 'tags': [], 'project_id': '42faa4d479304860b67a5a6ba16f01aa'}} 2025-07-22 18:18:59,413 - INFO - Created VN ctest-vn-34254429 2025-07-22 18:18:59,427 - DEBUG - VN ctest-vn-34254429 UUID is b7acb9b1-81ed-4faf-8b18-a0ecfcef0663 2025-07-22 18:18:59,793 - DEBUG - Response for create_network : {'network': {'id': '3cd9c67e-daa7-4969-876f-2d24142eeb51', 'name': 'ctest-vn-42639315', 'tenant_id': '42faa4d479304860b67a5a6ba16f01aa', 'project_id': '42faa4d479304860b67a5a6ba16f01aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-05535707', 'ctest-vn-42639315'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 18:19:00,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee1acf68-b41c-4db8-a0ce-7adbc1303edf', 'name': '', 'tenant_id': '42faa4d479304860b67a5a6ba16f01aa', 'network_id': '3cd9c67e-daa7-4969-876f-2d24142eeb51', 'ip_version': 4, 'cidr': '92.228.35.192/26', 'allocation_pools': [{'start': '92.228.35.194', 'end': '92.228.35.254'}], 'gateway_ip': '92.228.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.228.35.194', 'tags': [], 'project_id': '42faa4d479304860b67a5a6ba16f01aa'}} 2025-07-22 18:19:00,080 - INFO - Created VN ctest-vn-42639315 2025-07-22 18:19:00,095 - DEBUG - VN ctest-vn-42639315 UUID is 3cd9c67e-daa7-4969-876f-2d24142eeb51 2025-07-22 18:19:01,552 - 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 18:19:03,052 - 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 18:19:03,052 - INFO - Waiting for VM ctest-vm1-77193126 to be up.. 2025-07-22 18:19:03,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 18:19:08,236 - DEBUG - VM is in ACTIVE state now 2025-07-22 18:19:08,236 - INFO - VM name : ctest-vm1-77193126 2025-07-22 18:19:08,318 - DEBUG - VM ctest-vm1-77193126 ID is b94641c3-d04e-438a-bcee-5e864e392353 2025-07-22 18:19:08,343 - DEBUG - VM ctest-vm1-77193126 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1 2025-07-22 18:19:08,423 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b94641c3-d04e-438a-bcee-5e864e392353 2025-07-22 18:19:08,726 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b94641c3-d04e-438a-bcee-5e864e392353 2025-07-22 18:19:08,761 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/fd7faa64-8b88-41e7-8960-6c50013352c2 2025-07-22 18:19:11,978 - 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-07-22 18:19:11,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-77193126 failed! 2025-07-22 18:19:11,999 - DEBUG - Gateway for vn default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429 is 41.115.206.129 and allocation pool is NOT set 2025-07-22 18:19:14,068 - 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=6.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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.181/4.005/6.830/2.824 ms') 2025-07-22 18:19:14,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-77193126 passed 2025-07-22 18:19:14,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 18:19:14,147 - DEBUG - Waiting to SSH to VM ctest-vm1-77193126, IP 41.115.206.131, Port 22 2025-07-22 18:19:14,308 - DEBUG - VM ctest-vm1-77193126 is ready for SSH connections 2025-07-22 18:19:14,308 - INFO - Waiting for VM ctest-vm2-29239581 to be up.. 2025-07-22 18:19:14,414 - DEBUG - VM is in ACTIVE state now 2025-07-22 18:19:14,414 - INFO - VM name : ctest-vm2-29239581 2025-07-22 18:19:14,513 - DEBUG - VM ctest-vm2-29239581 ID is cdcdf6fa-6a9c-4719-b7a0-329cf4cbb4ec 2025-07-22 18:19:14,513 - DEBUG - VM ctest-vm2-29239581 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 18:19:14,607 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/cdcdf6fa-6a9c-4719-b7a0-329cf4cbb4ec 2025-07-22 18:19:14,621 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d4b050d9-0aa4-43c1-af7e-fbb60bd9cf1e 2025-07-22 18:19:15,793 - 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=5.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.788 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.788/3.020/5.253/2.232 ms') 2025-07-22 18:19:15,793 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-29239581 passed 2025-07-22 18:19:15,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 18:19:15,871 - DEBUG - Waiting to SSH to VM ctest-vm2-29239581, IP 92.228.35.195, Port 22 2025-07-22 18:19:16,033 - DEBUG - VM ctest-vm2-29239581 is ready for SSH connections 2025-07-22 18:19:16,135 - DEBUG - VM is in ACTIVE state now 2025-07-22 18:19:16,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 18:19:16,135 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b94641c3-d04e-438a-bcee-5e864e392353 2025-07-22 18:19:16,145 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/fd7faa64-8b88-41e7-8960-6c50013352c2 2025-07-22 18:19:16,159 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b94641c3-d04e-438a-bcee-5e864e392353 2025-07-22 18:19:16,170 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/fd7faa64-8b88-41e7-8960-6c50013352c2 2025-07-22 18:19:16,185 - DEBUG - Requesting: http://10.0.0.23:8082/instance-ip/73cf9fef-4abe-49f1-a9f6-dd7054080e5f 2025-07-22 18:19:16,198 - DEBUG - Verifying in api server 10.0.0.23 2025-07-22 18:19:16,198 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b94641c3-d04e-438a-bcee-5e864e392353 2025-07-22 18:19:16,209 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/fd7faa64-8b88-41e7-8960-6c50013352c2 2025-07-22 18:19:16,222 - DEBUG - Requesting: http://10.0.0.23:8082/instance-ip/73cf9fef-4abe-49f1-a9f6-dd7054080e5f 2025-07-22 18:19:16,233 - INFO - VM ctest-vm1-77193126 verfication in all API Servers passed 2025-07-22 18:19:16,254 - DEBUG - VM ctest-vm1-77193126 Tap interface: {'index': '3', 'name': 'tapfd7faa64-8b', 'uuid': 'fd7faa64-8b88-41e7-8960-6c50013352c2', 'vrf_name': 'default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429:ctest-vn-34254429', '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': '12', 'vn_name': 'default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429', 'vm_uuid': 'b94641c3-d04e-438a-bcee-5e864e392353', 'vm_name': 'ctest-vm1-77193126', 'ip_addr': '41.115.206.131', 'mac_addr': '02:fd:7f:aa:64:8b', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '160', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestDropStats-05535707:fd7faa64-8b88-41e7-8960-6c50013352c2', 'sg_uuid_list': ['04024583-69ab-4a6a-b857-ab0ef6df84c3'], 'static_route_list': None, 'vm_project_uuid': '42faa4d4-7930-4860-b67a-5a6ba16f01aa', 'admin_state': 'Enabled', 'flow_key_idx': '31', '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-22 18:19:16,254 - DEBUG - Agent 10.0.0.19 vrf name: default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429:ctest-vn-34254429 2025-07-22 18:19:16,262 - DEBUG - Agent VRF Object : {'vrf_list': [{'name': 'default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429:ctest-vn-34254429', 'ucindex': '2', 'mcindex': '2', 'l2index': '2', 'source': 'Config; ', 'uc6index': '2', 'vn': 'default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429', 'table_label': '-1', 'vxlan_id': '12', 'evpnindex': '2', 'brindex': '2', 'mplsindex': '0', 'RD': '10.20.0.25:2', 'mac_aging_time': '0', 'layer2_control_word': 'false', 'forwarding_vrf': None, 'hbf_rintf': '-1', 'hbf_lintf': '-1'}]} 2025-07-22 18:19:16,345 - DEBUG - VM ctest-vm1-77193126 : Tap interface tapfd7faa64-8b is set to Active 2025-07-22 18:19:16,345 - DEBUG - Tap interface tapfd7faa64-8b detail : {'index': '3', 'name': 'tapfd7faa64-8b', 'uuid': 'fd7faa64-8b88-41e7-8960-6c50013352c2', 'vrf_name': 'default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429:ctest-vn-34254429', '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': '12', 'vn_name': 'default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429', 'vm_uuid': 'b94641c3-d04e-438a-bcee-5e864e392353', 'vm_name': 'ctest-vm1-77193126', 'ip_addr': '41.115.206.131', 'mac_addr': '02:fd:7f:aa:64:8b', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '160', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestDropStats-05535707:fd7faa64-8b88-41e7-8960-6c50013352c2', 'sg_uuid_list': ['04024583-69ab-4a6a-b857-ab0ef6df84c3'], 'static_route_list': None, 'vm_project_uuid': '42faa4d4-7930-4860-b67a-5a6ba16f01aa', 'admin_state': 'Enabled', 'flow_key_idx': '31', '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-22 18:19:16,466 - DEBUG - Starting Layer 2 verification in Agent 2025-07-22 18:19:16,478 - DEBUG - Layer 2 path is seen for VM MAC 02:fd:7f:aa:64:8b in agent 10.0.0.19 2025-07-22 18:19:16,479 - DEBUG - Active layer 2 route in agent is present for VMI tapfd7faa64-8b 2025-07-22 18:19:16,479 - DEBUG - L2 label(29) matches bw route table and interface table 2025-07-22 18:19:16,487 - DEBUG - VN default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429 is found in Agent of node 10.0.0.19 2025-07-22 18:19:16,622 - DEBUG - VRF IDs of VN default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429 is consistent in agent 10.0.0.19 2025-07-22 18:19:16,622 - DEBUG - Route for VM IP ['41.115.206.131'] is consistent in agent 10.0.0.19 2025-07-22 18:19:16,623 - DEBUG - VN default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429 verification for VM ctest-vm1-77193126 in Agent 10.0.0.19 passed 2025-07-22 18:19:16,740 - DEBUG - Starting all layer 2 verification in agent 10.0.0.19 2025-07-22 18:19:16,754 - DEBUG - Route for VM MAC 02:fd:7f:aa:64:8b is consistent in agent 10.0.0.19 2025-07-22 18:19:16,762 - INFO - VM ctest-vm1-77193126 verifications in Compute nodes passed 2025-07-22 18:19:17,020 - DEBUG - Validated VM route 41.115.206.131 in vrouter of 10.0.0.19 2025-07-22 18:19:17,025 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: None, 0; Got None,0 2025-07-22 18:19:17,025 - INFO - Validated routes of VM ctest-vm1-77193126 in all vrouters 2025-07-22 18:19:17,290 - INFO - Deleting VM ctest-vm2-29239581 2025-07-22 18:19:17,355 - INFO - Deleting VM ctest-vm1-77193126 2025-07-22 18:19:17,420 - INFO - Deleting VN ctest-vn-42639315 2025-07-22 18:19:17,471 - DEBUG - VN 3cd9c67e-daa7-4969-876f-2d24142eeb51 still in use: Unable to complete operation on network 3cd9c67e-daa7-4969-876f-2d24142eeb51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ebf1ce3c-202e-40fa-809b-9f1f976af2fa'] 2025-07-22 18:19:17,471 - WARNING - Deleting VN ctest-vn-42639315 failed..Will retry 2025-07-22 18:19:19,634 - DEBUG - Response for deleting network () 2025-07-22 18:19:19,634 - INFO - Deleting VN ctest-vn-34254429 2025-07-22 18:19:19,822 - DEBUG - Response for deleting network () 2025-07-22 18:19:21,089 - ERROR - AttributeError Python 3.6.8: /usr/bin/python3 Tue Jul 22 18:19:17 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-3693-1' compute1_name = 'an-jenkins-deploy-platform-ansible-os-3693-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-3693-1', compute1_name='an-jenkins-deploy-platform-ansible-os-3693-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-05535707:ctest-vn-34254429' /contrail-test/fixtures/vm_test.py in get_ctrl_nodes_in_rt_group(self=, vn_fq_name='default-domain:ctest-TestDropStats-05535707:ctest-vn-34254429') 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.23' ].get_cn_rtarget_group undefined rt = 'target:64512:8000005' /contrail-test/tcutils/control/cn_introspect_utils.py in get_cn_rtarget_group(self=, route_target='target:64512:8000005') 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-22 18:19:21,089 - DEBUG - Skipping xmpp flap check 2025-07-22 18:19:21,089 - INFO -
2025-07-22 18:19:21,089 - INFO - END TEST : test_flow_action_drop_stats : FAILED[0:00:24]
2025-07-22 18:19:21,089 - INFO - -------------------------------------------------------------------------------- 2025-07-22 18:19:21,825 - INFO - Deleted project: ctest-TestDropStats-05535707, ID : 42faa4d4-7930-4860-b67a-5a6ba16f01aa