2025-07-24 05:50:30,960 - INFO - Domain Default found not creating 2025-07-24 05:50:31,152 - INFO - Project ctest-TestDropStats-68685302 not found, creating it 2025-07-24 05:50:31,828 - INFO - Created Project:ctest-TestDropStats-68685302, ID : a2aa423c-8d16-4d9b-8649-4445365cab86 2025-07-24 05:50:33,508 - INFO - ================================================================================ 2025-07-24 05:50:33,508 - INFO - STARTING TEST : test_flow_action_drop_stats 2025-07-24 05:50:33,509 - 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-24 05:50:34,816 - DEBUG - Skipping xmpp flap check 2025-07-24 05:50:34,816 - INFO - Initial checks done. Running the testcase now 2025-07-24 05:50:34,816 - INFO - 2025-07-24 05:50:34,846 - DEBUG - Services list from nova: [, , , ] 2025-07-24 05:50:34,847 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3712-1', 'an-jenkins-deploy-platform-ansible-os-3712-2']} 2025-07-24 05:50:35,646 - DEBUG - Response for create_network : {'network': {'id': '0097f33b-ea71-4eab-b410-74e67f313e90', 'name': 'ctest-vn-86906645', 'tenant_id': 'a2aa423c8d164d9b86494445365cab86', 'project_id': 'a2aa423c8d164d9b86494445365cab86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-68685302', 'ctest-vn-86906645'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 05:50:36,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d4f0ad7-f834-45e3-9bf4-a3c1716f873d', 'name': '', 'tenant_id': 'a2aa423c8d164d9b86494445365cab86', 'network_id': '0097f33b-ea71-4eab-b410-74e67f313e90', 'ip_version': 4, 'cidr': '99.97.99.128/26', 'allocation_pools': [{'start': '99.97.99.130', 'end': '99.97.99.190'}], 'gateway_ip': '99.97.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.97.99.130', 'tags': [], 'project_id': 'a2aa423c8d164d9b86494445365cab86'}} 2025-07-24 05:50:36,044 - INFO - Created VN ctest-vn-86906645 2025-07-24 05:50:36,061 - DEBUG - VN ctest-vn-86906645 UUID is 0097f33b-ea71-4eab-b410-74e67f313e90 2025-07-24 05:50:36,502 - DEBUG - Response for create_network : {'network': {'id': '20458d86-771a-46d9-a7dc-91884d8f1587', 'name': 'ctest-vn-40403784', 'tenant_id': 'a2aa423c8d164d9b86494445365cab86', 'project_id': 'a2aa423c8d164d9b86494445365cab86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-68685302', 'ctest-vn-40403784'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 05:50:36,834 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3cabb2c-5211-4c93-b4e9-b45ea91a4c19', 'name': '', 'tenant_id': 'a2aa423c8d164d9b86494445365cab86', 'network_id': '20458d86-771a-46d9-a7dc-91884d8f1587', 'ip_version': 4, 'cidr': '82.93.254.192/26', 'allocation_pools': [{'start': '82.93.254.194', 'end': '82.93.254.254'}], 'gateway_ip': '82.93.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.93.254.194', 'tags': [], 'project_id': 'a2aa423c8d164d9b86494445365cab86'}} 2025-07-24 05:50:36,874 - INFO - Created VN ctest-vn-40403784 2025-07-24 05:50:36,895 - DEBUG - VN ctest-vn-40403784 UUID is 20458d86-771a-46d9-a7dc-91884d8f1587 2025-07-24 05:50:38,538 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3712-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3712-1) 2025-07-24 05:50:40,384 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3712-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3712-2) 2025-07-24 05:50:40,384 - INFO - Waiting for VM ctest-vm1-50925151 to be up.. 2025-07-24 05:50:40,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 05:50:45,609 - DEBUG - VM is in ACTIVE state now 2025-07-24 05:50:45,609 - INFO - VM name : ctest-vm1-50925151 2025-07-24 05:50:45,725 - DEBUG - VM ctest-vm1-50925151 ID is 6a7ee09f-803f-4448-ac61-6f4d4eca6142 2025-07-24 05:50:45,761 - DEBUG - VM ctest-vm1-50925151 launched on Node an-jenkins-deploy-platform-ansible-os-3712-1 2025-07-24 05:50:45,863 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6a7ee09f-803f-4448-ac61-6f4d4eca6142 2025-07-24 05:50:46,188 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6a7ee09f-803f-4448-ac61-6f4d4eca6142 2025-07-24 05:50:46,235 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/21b801f0-3398-4af8-bbbe-15e40f7959ac 2025-07-24 05:50:49,447 - 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 1018ms') 2025-07-24 05:50:49,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-50925151 failed! 2025-07-24 05:50:49,469 - DEBUG - Gateway for vn default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645 is 99.97.99.129 and allocation pool is NOT set 2025-07-24 05:50:51,535 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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.411/4.161/6.912/2.750 ms') 2025-07-24 05:50:51,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-50925151 passed 2025-07-24 05:50:51,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 05:50:51,621 - DEBUG - Waiting to SSH to VM ctest-vm1-50925151, IP 99.97.99.131, Port 22 2025-07-24 05:50:51,691 - 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-24 05:50:51,790 - DEBUG - VM ctest-vm1-50925151 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-24 05:50:56,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 05:50:56,791 - DEBUG - Waiting to SSH to VM ctest-vm1-50925151, IP 99.97.99.131, Port 22 2025-07-24 05:50:56,966 - DEBUG - VM ctest-vm1-50925151 is ready for SSH connections 2025-07-24 05:50:56,967 - INFO - Waiting for VM ctest-vm2-53714194 to be up.. 2025-07-24 05:50:57,104 - DEBUG - VM is in ACTIVE state now 2025-07-24 05:50:57,104 - INFO - VM name : ctest-vm2-53714194 2025-07-24 05:50:57,218 - DEBUG - VM ctest-vm2-53714194 ID is 2f99625d-2ffe-4ad8-9f48-928d7d2f886c 2025-07-24 05:50:57,218 - DEBUG - VM ctest-vm2-53714194 launched on Node an-jenkins-deploy-platform-ansible-os-3712-2 2025-07-24 05:50:57,358 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2f99625d-2ffe-4ad8-9f48-928d7d2f886c 2025-07-24 05:50:57,376 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/901ff4ea-c22c-4d55-8e00-3a089508dafd 2025-07-24 05:50:58,558 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.447/2.155/3.864/1.708 ms') 2025-07-24 05:50:58,558 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-53714194 passed 2025-07-24 05:50:58,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 05:50:58,646 - DEBUG - Waiting to SSH to VM ctest-vm2-53714194, IP 82.93.254.195, Port 22 2025-07-24 05:50:58,808 - DEBUG - VM ctest-vm2-53714194 is ready for SSH connections 2025-07-24 05:50:58,911 - DEBUG - VM is in ACTIVE state now 2025-07-24 05:50:58,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 05:50:58,911 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6a7ee09f-803f-4448-ac61-6f4d4eca6142 2025-07-24 05:50:58,930 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/21b801f0-3398-4af8-bbbe-15e40f7959ac 2025-07-24 05:50:58,951 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6a7ee09f-803f-4448-ac61-6f4d4eca6142 2025-07-24 05:50:58,964 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/21b801f0-3398-4af8-bbbe-15e40f7959ac 2025-07-24 05:50:58,978 - DEBUG - Requesting: http://10.0.0.41:8082/instance-ip/30f6a994-5fba-4817-8f5d-e7601edddf68 2025-07-24 05:50:58,995 - DEBUG - Verifying in api server 10.0.0.41 2025-07-24 05:50:58,995 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6a7ee09f-803f-4448-ac61-6f4d4eca6142 2025-07-24 05:50:59,007 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/21b801f0-3398-4af8-bbbe-15e40f7959ac 2025-07-24 05:50:59,032 - DEBUG - Requesting: http://10.0.0.41:8082/instance-ip/30f6a994-5fba-4817-8f5d-e7601edddf68 2025-07-24 05:50:59,047 - INFO - VM ctest-vm1-50925151 verfication in all API Servers passed 2025-07-24 05:50:59,085 - DEBUG - VM ctest-vm1-50925151 Tap interface: {'index': '3', 'name': 'tap21b801f0-33', 'uuid': '21b801f0-3398-4af8-bbbe-15e40f7959ac', 'vrf_name': 'default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645:ctest-vn-86906645', '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-68685302:ctest-vn-86906645', 'vm_uuid': '6a7ee09f-803f-4448-ac61-6f4d4eca6142', 'vm_name': 'ctest-vm1-50925151', 'ip_addr': '99.97.99.131', 'mac_addr': '02:21:b8:01:f0:33', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '128', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestDropStats-68685302:21b801f0-3398-4af8-bbbe-15e40f7959ac', 'sg_uuid_list': ['d710819b-c5a2-4941-a72e-40fe4415f5ab'], 'static_route_list': None, 'vm_project_uuid': 'a2aa423c-8d16-4d9b-8649-4445365cab86', 'admin_state': 'Enabled', 'flow_key_idx': '28', '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-24 05:50:59,085 - DEBUG - Agent 10.0.0.57 vrf name: default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645:ctest-vn-86906645 2025-07-24 05:50:59,096 - DEBUG - Agent VRF Object : {'vrf_list': [{'name': 'default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645:ctest-vn-86906645', 'ucindex': '2', 'mcindex': '2', 'l2index': '2', 'source': 'Config; ', 'uc6index': '2', 'vn': 'default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645', 'table_label': '-1', 'vxlan_id': '13', 'evpnindex': '2', 'brindex': '2', 'mplsindex': '0', 'RD': '10.20.0.18:2', 'mac_aging_time': '0', 'layer2_control_word': 'false', 'forwarding_vrf': None, 'hbf_rintf': '-1', 'hbf_lintf': '-1'}]} 2025-07-24 05:50:59,235 - DEBUG - VM ctest-vm1-50925151 : Tap interface tap21b801f0-33 is set to Active 2025-07-24 05:50:59,236 - DEBUG - Tap interface tap21b801f0-33 detail : {'index': '3', 'name': 'tap21b801f0-33', 'uuid': '21b801f0-3398-4af8-bbbe-15e40f7959ac', 'vrf_name': 'default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645:ctest-vn-86906645', '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-68685302:ctest-vn-86906645', 'vm_uuid': '6a7ee09f-803f-4448-ac61-6f4d4eca6142', 'vm_name': 'ctest-vm1-50925151', 'ip_addr': '99.97.99.131', 'mac_addr': '02:21:b8:01:f0:33', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '128', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestDropStats-68685302:21b801f0-3398-4af8-bbbe-15e40f7959ac', 'sg_uuid_list': ['d710819b-c5a2-4941-a72e-40fe4415f5ab'], 'static_route_list': None, 'vm_project_uuid': 'a2aa423c-8d16-4d9b-8649-4445365cab86', 'admin_state': 'Enabled', 'flow_key_idx': '28', '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-24 05:50:59,366 - DEBUG - Starting Layer 2 verification in Agent 2025-07-24 05:50:59,382 - DEBUG - Layer 2 path is seen for VM MAC 02:21:b8:01:f0:33 in agent 10.0.0.57 2025-07-24 05:50:59,382 - DEBUG - Active layer 2 route in agent is present for VMI tap21b801f0-33 2025-07-24 05:50:59,383 - DEBUG - L2 label(29) matches bw route table and interface table 2025-07-24 05:50:59,393 - DEBUG - VN default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645 is found in Agent of node 10.0.0.57 2025-07-24 05:50:59,548 - DEBUG - VRF IDs of VN default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645 is consistent in agent 10.0.0.57 2025-07-24 05:50:59,548 - DEBUG - Route for VM IP ['99.97.99.131'] is consistent in agent 10.0.0.57 2025-07-24 05:50:59,548 - DEBUG - VN default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645 verification for VM ctest-vm1-50925151 in Agent 10.0.0.57 passed 2025-07-24 05:50:59,688 - DEBUG - Starting all layer 2 verification in agent 10.0.0.57 2025-07-24 05:50:59,715 - DEBUG - Route for VM MAC 02:21:b8:01:f0:33 is consistent in agent 10.0.0.57 2025-07-24 05:50:59,724 - INFO - VM ctest-vm1-50925151 verifications in Compute nodes passed 2025-07-24 05:51:00,058 - DEBUG - Validated VM route 99.97.99.131 in vrouter of 10.0.0.57 2025-07-24 05:51:00,073 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: None, 0; Got None,0 2025-07-24 05:51:00,073 - INFO - Validated routes of VM ctest-vm1-50925151 in all vrouters 2025-07-24 05:51:00,376 - INFO - Deleting VM ctest-vm2-53714194 2025-07-24 05:51:00,507 - INFO - Deleting VM ctest-vm1-50925151 2025-07-24 05:51:00,612 - INFO - Deleting VN ctest-vn-40403784 2025-07-24 05:51:00,684 - DEBUG - VN 20458d86-771a-46d9-a7dc-91884d8f1587 still in use: Unable to complete operation on network 20458d86-771a-46d9-a7dc-91884d8f1587. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1efb3f89-b63d-46e1-b528-fb2f758221a8'] 2025-07-24 05:51:00,684 - WARNING - Deleting VN ctest-vn-40403784 failed..Will retry 2025-07-24 05:51:03,022 - DEBUG - Response for deleting network () 2025-07-24 05:51:03,022 - INFO - Deleting VN ctest-vn-86906645 2025-07-24 05:51:03,332 - DEBUG - Response for deleting network () 2025-07-24 05:51:04,667 - ERROR - AttributeError Python 3.6.8: /usr/bin/python3 Thu Jul 24 05:51:00 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-3712-1' compute1_name = 'an-jenkins-deploy-platform-ansible-os-3712-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-3712-1', compute1_name='an-jenkins-deploy-platform-ansible-os-3712-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-68685302:ctest-vn-86906645' /contrail-test/fixtures/vm_test.py in get_ctrl_nodes_in_rt_group(self=, vn_fq_name='default-domain:ctest-TestDropStats-68685302:ctest-vn-86906645') 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.41' ].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-24 05:51:04,668 - DEBUG - Skipping xmpp flap check 2025-07-24 05:51:04,668 - INFO -
2025-07-24 05:51:04,668 - INFO - END TEST : test_flow_action_drop_stats : FAILED[0:00:31]
2025-07-24 05:51:04,668 - INFO - -------------------------------------------------------------------------------- 2025-07-24 05:51:05,847 - INFO - Deleted project: ctest-TestDropStats-68685302, ID : a2aa423c-8d16-4d9b-8649-4445365cab86