2025-10-23 03:42:49,317 - INFO - Domain Default found not creating 2025-10-23 03:42:49,481 - INFO - Project ctest-TestvifStats-27230358 not found, creating it 2025-10-23 03:42:50,039 - INFO - Created Project:ctest-TestvifStats-27230358, ID : e8b8416f-2d42-4731-b976-8f4940ed7922 2025-10-23 03:42:51,676 - INFO - ================================================================================ 2025-10-23 03:42:51,676 - INFO - STARTING TEST : test_vif_statistics 2025-10-23 03:42:51,676 - INFO - TEST DESCRIPTION : Description: Verify vif statistics Vm's across compute node steps: 1. create 1 VN and launch 2 VMs in compute node 2. client and server VMs on same node 3. send icmp traffic assert if ping is not working 4. get_vif_stats to check vif interface 5. clear_vif_stats to clear vif interface stats 6. Repeat step4 Pass criteria: 1. If output of vif stats/clear execute successfully from compute 2025-10-23 03:42:52,986 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.49': {'10.20.0.14': '0', '10.20.0.129': '0'}} with 2025-10-23 03:42:52,986 - INFO - Initial checks done. Running the testcase now 2025-10-23 03:42:52,987 - INFO - 2025-10-23 03:42:53,702 - DEBUG - Response for create_network : {'network': {'id': '2826c27b-516b-404e-8100-37caea19fcb2', 'name': 'ctest-vn-16545250', 'tenant_id': 'e8b8416f2d424731b9768f4940ed7922', 'project_id': 'e8b8416f2d424731b9768f4940ed7922', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-27230358', 'ctest-vn-16545250'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 03:42:54,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '4527a8a6-ce9a-4132-a8f6-bbe8ae7a1720', 'name': '', 'tenant_id': 'e8b8416f2d424731b9768f4940ed7922', 'network_id': '2826c27b-516b-404e-8100-37caea19fcb2', 'ip_version': 4, 'cidr': '12.191.72.0/26', 'allocation_pools': [{'start': '12.191.72.2', 'end': '12.191.72.62'}], 'gateway_ip': '12.191.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.191.72.2', 'tags': [], 'project_id': 'e8b8416f2d424731b9768f4940ed7922'}} 2025-10-23 03:42:54,084 - INFO - Created VN ctest-vn-16545250 2025-10-23 03:42:54,099 - DEBUG - VN ctest-vn-16545250 UUID is 2826c27b-516b-404e-8100-37caea19fcb2 2025-10-23 03:42:54,173 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 03:42:54,510 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 03:42:54,541 - DEBUG - Requesting: http://10.0.0.41:8082/domain/4ac2eafd-52e8-4f65-a1ce-6478676e3af6 2025-10-23 03:42:54,557 - DEBUG - Requesting: http://10.0.0.41:8082/project/e8b8416f-2d42-4731-b976-8f4940ed7922 2025-10-23 03:42:54,656 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2826c27b-516b-404e-8100-37caea19fcb2 2025-10-23 03:42:54,670 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2826c27b-516b-404e-8100-37caea19fcb2 2025-10-23 03:42:54,681 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2db78e41-98e3-4fbb-8d18-0dd21b207bf8 2025-10-23 03:42:54,690 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2db78e41-98e3-4fbb-8d18-0dd21b207bf8 2025-10-23 03:42:54,698 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/36be96b1-4b67-4622-9884-277ae6118fc2 2025-10-23 03:42:54,706 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 03:42:54,706 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2826c27b-516b-404e-8100-37caea19fcb2 2025-10-23 03:42:54,716 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2db78e41-98e3-4fbb-8d18-0dd21b207bf8 2025-10-23 03:42:54,731 - INFO - Verified VN network id 15 for VN 2826c27b-516b-404e-8100-37caea19fcb2 2025-10-23 03:42:54,731 - INFO - Verifications in API Server for VN ctest-vn-16545250 passed 2025-10-23 03:42:54,731 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2826c27b-516b-404e-8100-37caea19fcb2 2025-10-23 03:42:54,741 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2db78e41-98e3-4fbb-8d18-0dd21b207bf8 2025-10-23 03:42:54,748 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2db78e41-98e3-4fbb-8d18-0dd21b207bf8 2025-10-23 03:42:54,757 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/36be96b1-4b67-4622-9884-277ae6118fc2 2025-10-23 03:42:54,770 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-27230358', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2893213645534871630', 'uuid-lslong': '9295490975543196850'}, 'enable': 'true', 'created': '2025-10-23T03:42:53', 'last-modified': '2025-10-23T03:42:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.769330'} 2025-10-23 03:42:54,777 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 03:42:54,783 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-27230358', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2893213645534871630', 'uuid-lslong': '9295490975543196850'}, 'enable': 'true', 'created': '2025-10-23T03:42:53', 'last-modified': '2025-10-23T03:42:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.788749'} 2025-10-23 03:42:54,792 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 03:42:54,799 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-27230358', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2893213645534871630', 'uuid-lslong': '9295490975543196850'}, 'enable': 'true', 'created': '2025-10-23T03:42:53', 'last-modified': '2025-10-23T03:42:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.795678'} 2025-10-23 03:42:54,807 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 03:42:54,807 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16545250 passed 2025-10-23 03:42:54,807 - DEBUG - ====Verifying policy data for ctest-vn-16545250 in API_Server ====== 2025-10-23 03:42:54,807 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 03:42:54,815 - DEBUG - Requesting: http://10.0.0.41:8082/domain/4ac2eafd-52e8-4f65-a1ce-6478676e3af6 2025-10-23 03:42:54,827 - DEBUG - Requesting: http://10.0.0.41:8082/project/e8b8416f-2d42-4731-b976-8f4940ed7922 2025-10-23 03:42:54,929 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2826c27b-516b-404e-8100-37caea19fcb2 2025-10-23 03:42:54,940 - DEBUG - =>VN ctest-vn-16545250 has no policy to be verified 2025-10-23 03:42:54,940 - DEBUG - Verifying the vn in opserver 2025-10-23 03:42:54,940 - DEBUG - Verifying the default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 virtual network link through opserver 10.0.0.41 2025-10-23 03:42:54,941 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-23 03:42:55,277 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-23 03:42:55,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250?flat'} 2025-10-23 03:42:55,341 - DEBUG - Verifying the default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 virtual network link through opserver 10.0.0.73 2025-10-23 03:42:55,341 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-23 03:42:55,676 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-23 03:42:55,738 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250?flat'} 2025-10-23 03:42:55,738 - DEBUG - Verifying the default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 virtual network link through opserver 10.0.0.133 2025-10-23 03:42:55,738 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-10-23 03:42:56,072 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-10-23 03:42:56,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250?flat'} 2025-10-23 03:42:56,135 - INFO - Validated that VN default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is found in opserver 2025-10-23 03:42:56,157 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 03:42:56,166 - DEBUG - VRF ids for VN ctest-vn-16545250: {} 2025-10-23 03:42:56,192 - DEBUG - Services list from nova: [, , , ] 2025-10-23 03:42:56,192 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4448-2', 'an-jenkins-deploy-platform-ansible-os-4448-1']} 2025-10-23 03:42:56,192 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4448-2', 'an-jenkins-deploy-platform-ansible-os-4448-1']} 2025-10-23 03:42:57,469 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-2) 2025-10-23 03:42:57,470 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4448-2', 'an-jenkins-deploy-platform-ansible-os-4448-1']} 2025-10-23 03:42:58,978 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-2) 2025-10-23 03:42:58,978 - INFO - Waiting for VM ctest-TestvifStats-27230358-34599984 to be up.. 2025-10-23 03:42:59,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 03:43:04,163 - DEBUG - VM is in ACTIVE state now 2025-10-23 03:43:04,163 - INFO - VM name : ctest-TestvifStats-27230358-34599984 2025-10-23 03:43:04,250 - DEBUG - VM ctest-TestvifStats-27230358-34599984 ID is 5b1b5bc1-dc60-40d2-a707-bda6f60c85ed 2025-10-23 03:43:04,278 - DEBUG - VM ctest-TestvifStats-27230358-34599984 launched on Node an-jenkins-deploy-platform-ansible-os-4448-2 2025-10-23 03:43:04,365 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/5b1b5bc1-dc60-40d2-a707-bda6f60c85ed 2025-10-23 03:43:04,707 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/5b1b5bc1-dc60-40d2-a707-bda6f60c85ed 2025-10-23 03:43:04,744 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/b17d7e4d-21a6-4bfe-b408-5537fca04ffe 2025-10-23 03:43:07,941 - 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 1033ms') 2025-10-23 03:43:07,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:07,956 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:12,034 - 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 1010ms') 2025-10-23 03:43:12,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:12,048 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:16,132 - 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 1016ms') 2025-10-23 03:43:16,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:16,147 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:20,223 - 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 1011ms') 2025-10-23 03:43:20,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:20,237 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:24,324 - 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 1022ms') 2025-10-23 03:43:24,324 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:24,339 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:28,424 - 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 1022ms') 2025-10-23 03:43:28,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:28,439 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:32,511 - 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 1006ms') 2025-10-23 03:43:32,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:32,524 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:36,616 - 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 1026ms') 2025-10-23 03:43:36,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:36,631 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:40,742 - 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 1025ms') 2025-10-23 03:43:40,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:40,756 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:44,834 - 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 1014ms') 2025-10-23 03:43:44,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:44,847 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:48,928 - 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 1016ms') 2025-10-23 03:43:48,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:48,943 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:53,030 - 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 1008ms') 2025-10-23 03:43:53,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:53,044 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:43:57,120 - 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 1010ms') 2025-10-23 03:43:57,120 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:43:57,134 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:44:01,222 - 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 1019ms') 2025-10-23 03:44:01,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 failed! 2025-10-23 03:44:01,239 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-27230358:ctest-vn-16545250 is 12.191.72.1 and allocation pool is NOT set 2025-10-23 03:44:03,309 - 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=9.07 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/4.835/9.068/4.233 ms') 2025-10-23 03:44:03,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-27230358-34599984 passed 2025-10-23 03:44:03,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 03:44:03,381 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-27230358-34599984, IP 12.191.72.3, Port 22 2025-10-23 03:44:03,449 - DEBUG - Error on ssh to ubuntu@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-10-23 03:44:03,544 - DEBUG - VM ctest-TestvifStats-27230358-34599984 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 03:44:08,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 03:44:08,545 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-27230358-34599984, IP 12.191.72.3, Port 22 2025-10-23 03:44:08,617 - DEBUG - Error on ssh to ubuntu@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-10-23 03:44:08,705 - DEBUG - VM ctest-TestvifStats-27230358-34599984 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 03:44:13,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 03:44:13,706 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-27230358-34599984, IP 12.191.72.3, Port 22 2025-10-23 03:44:13,773 - DEBUG - Error on ssh to ubuntu@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-10-23 03:44:13,865 - DEBUG - VM ctest-TestvifStats-27230358-34599984 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 03:44:18,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 03:44:18,866 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-27230358-34599984, IP 12.191.72.3, Port 22 2025-10-23 03:44:18,934 - DEBUG - Error on ssh to ubuntu@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-10-23 03:44:19,019 - DEBUG - VM ctest-TestvifStats-27230358-34599984 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 03:44:24,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 03:44:24,020 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-27230358-34599984, IP 12.191.72.3, Port 22 2025-10-23 03:44:24,192 - DEBUG - VM ctest-TestvifStats-27230358-34599984 is ready for SSH connections 2025-10-23 03:44:24,193 - INFO - Waiting for VM ctest-TestvifStats-27230358-26982423 to be up.. 2025-10-23 03:44:24,274 - DEBUG - VM is in ACTIVE state now 2025-10-23 03:44:24,274 - INFO - VM name : ctest-TestvifStats-27230358-26982423 2025-10-23 03:44:24,358 - DEBUG - VM ctest-TestvifStats-27230358-26982423 ID is d8e6cf08-6ab3-4886-b588-5e1dd275b141 2025-10-23 03:44:24,358 - DEBUG - VM ctest-TestvifStats-27230358-26982423 launched on Node an-jenkins-deploy-platform-ansible-os-4448-2 2025-10-23 03:44:24,439 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/d8e6cf08-6ab3-4886-b588-5e1dd275b141 2025-10-23 03:44:24,451 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/f1050031-a4f0-4c89-be5b-0fcbc728641e 2025-10-23 03:44:25,616 - 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=3.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.869 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.869/2.149/3.429/1.280 ms') 2025-10-23 03:44:25,616 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-27230358-26982423 passed 2025-10-23 03:44:25,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 03:44:25,684 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-27230358-26982423, IP 12.191.72.4, Port 22 2025-10-23 03:44:25,856 - DEBUG - VM ctest-TestvifStats-27230358-26982423 is ready for SSH connections 2025-10-23 03:44:25,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 03:44:25,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.191.72.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-23 03:44:25,857 - DEBUG - ping -s 56 -c 3 -W 1 12.191.72.4 2025-10-23 03:44:53,798 - DEBUG - PING 12.191.72.4 (12.191.72.4) 56(84) bytes of data. 64 bytes from 12.191.72.4: icmp_req=1 ttl=64 time=11.1 ms 64 bytes from 12.191.72.4: icmp_req=2 ttl=64 time=1.12 ms 64 bytes from 12.191.72.4: icmp_req=3 ttl=64 time=4.95 ms --- 12.191.72.4 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.127/5.734/11.122/4.118 ms 2025-10-23 03:44:53,799 - INFO - Ping to IP 12.191.72.4 from VM ctest-TestvifStats-27230358-34599984 passed 2025-10-23 03:44:53,799 - INFO - 10.0.0.49 2025-10-23 03:44:53,799 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-10-23 03:44:53,885 - INFO - Deleting VM ctest-TestvifStats-27230358-26982423 2025-10-23 03:44:53,964 - INFO - Deleting VM ctest-TestvifStats-27230358-34599984 2025-10-23 03:44:54,049 - INFO - Deleting VN ctest-vn-16545250 2025-10-23 03:44:54,091 - DEBUG - VN 2826c27b-516b-404e-8100-37caea19fcb2 still in use: Unable to complete operation on network 2826c27b-516b-404e-8100-37caea19fcb2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5d5000a-0599-4dde-972f-289e26997985'] 2025-10-23 03:44:54,091 - WARNING - Deleting VN ctest-vn-16545250 failed..Will retry 2025-10-23 03:44:56,267 - DEBUG - Response for deleting network () 2025-10-23 03:44:56,267 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2db78e41-98e3-4fbb-8d18-0dd21b207bf8 2025-10-23 03:44:56,273 - DEBUG - Response Code: 404 2025-10-23 03:44:56,274 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 03:44:56,279 - DEBUG - Requesting: http://10.0.0.41:8082/domain/4ac2eafd-52e8-4f65-a1ce-6478676e3af6 2025-10-23 03:44:56,347 - DEBUG - Requesting: http://10.0.0.41:8082/project/e8b8416f-2d42-4731-b976-8f4940ed7922 2025-10-23 03:44:56,459 - INFO - Validated that VN ctest-vn-16545250 is not found in API Server 2025-10-23 03:44:56,472 - DEBUG - VN ctest-vn-16545250 is not present in Agent 10.0.0.48 2025-10-23 03:44:56,484 - DEBUG - VN ctest-vn-16545250 is not present in Agent 10.0.0.49 2025-10-23 03:44:56,484 - INFO - Validated that VN ctest-vn-16545250 is not in any agent 2025-10-23 03:44:56,515 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16545250 info 2025-10-23 03:44:57,784 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Thu Oct 23 03:44:53 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/vrouter/test_vif_stats.py in test_vif_statistics(self=) 89 assert client_fixtures[0].ping_with_certainty(server_fixtures[0].vm_ip, expectation=True), "ping failed" 90 compute_ip = server_fixtures[0].vm_node_ip 91 stats_pre_clr = self.get_vif_stats(compute_ip) 92 self.clear_vif_stats(compute_ip) 93 stats_post_clr = self.get_vif_stats(compute_ip) stats_pre_clr undefined self = self.get_vif_stats = > compute_ip = '10.0.0.49' /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.49') 28 assert vif_out, "vif stats for %s is not working" % vif_rx_cmd 29 if not "RX packets" in vif_out: 30 assert False, "RX packets is not available" 31 else: 32 result = vif_out.split() AssertionError: RX packets is not available __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 = ('RX packets is not available',) 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/vrouter/test_vif_stats.py", line 91, in test_vif_statistics stats_pre_clr = self.get_vif_stats(compute_ip) File "/contrail-test/scripts/vrouter/test_vif_stats.py", line 30, in get_vif_stats assert False, "RX packets is not available" AssertionError: RX packets is not available 2025-10-23 03:44:57,797 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 03:44:57,797 - INFO - 2025-10-23 03:44:57,798 - INFO - END TEST : test_vif_statistics : FAILED[0:02:06] 2025-10-23 03:44:57,798 - INFO - -------------------------------------------------------------------------------- 2025-10-23 03:44:58,566 - INFO - Deleted project: ctest-TestvifStats-27230358, ID : e8b8416f-2d42-4731-b976-8f4940ed7922