2026-08-24 04:10:42,450 - INFO - Domain Default found not creating
2026-08-24 04:10:42,640 - INFO - Project ctest-TestvifStats-81059673 not found, creating it
2026-08-24 04:10:43,266 - INFO - Created Project:ctest-TestvifStats-81059673, ID : 1bbac2e8-1e3d-49cb-8f91-b1e71cfa57ad
2026-08-24 04:10:45,753 - INFO - ================================================================================
2026-08-24 04:10:45,753 - INFO - STARTING TEST : test_vif_statistics
2026-08-24 04:10:45,753 - 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
2026-08-24 04:10:47,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.185': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2026-08-24 04:10:47,077 - INFO - Initial checks done. Running the testcase now
2026-08-24 04:10:47,077 - INFO -
2026-08-24 04:10:47,828 - DEBUG - Response for create_network : {'network': {'id': '55f7afe3-3275-473f-84d3-373e8881128e', 'name': 'ctest-vn-17726024', 'tenant_id': '1bbac2e81e3d49cb8f91b1e71cfa57ad', 'project_id': '1bbac2e81e3d49cb8f91b1e71cfa57ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-81059673', 'ctest-vn-17726024'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 04:10:48,170 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0ca50ea-460f-49f8-8275-d02ef544e21e', 'name': '', 'tenant_id': '1bbac2e81e3d49cb8f91b1e71cfa57ad', 'network_id': '55f7afe3-3275-473f-84d3-373e8881128e', 'ip_version': 4, 'cidr': '132.72.215.0/26', 'allocation_pools': [{'start': '132.72.215.2', 'end': '132.72.215.62'}], 'gateway_ip': '132.72.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.72.215.2', 'tags': [], 'project_id': '1bbac2e81e3d49cb8f91b1e71cfa57ad'}}
2026-08-24 04:10:48,195 - INFO - Created VN ctest-vn-17726024
2026-08-24 04:10:48,210 - DEBUG - VN ctest-vn-17726024 UUID is 55f7afe3-3275-473f-84d3-373e8881128e
2026-08-24 04:10:48,296 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-08-24 04:10:48,645 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-08-24 04:10:48,678 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b
2026-08-24 04:10:48,700 - DEBUG - Requesting: http://10.0.0.190:8082/project/1bbac2e8-1e3d-49cb-8f91-b1e71cfa57ad
2026-08-24 04:10:48,809 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/55f7afe3-3275-473f-84d3-373e8881128e
2026-08-24 04:10:48,823 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/55f7afe3-3275-473f-84d3-373e8881128e
2026-08-24 04:10:48,836 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/15a4e293-29e1-4898-8a02-a03da7a2fab3
2026-08-24 04:10:48,845 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/15a4e293-29e1-4898-8a02-a03da7a2fab3
2026-08-24 04:10:48,854 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/b8037381-e96a-43d3-9722-c0ef0519b102
2026-08-24 04:10:48,863 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 04:10:48,863 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/55f7afe3-3275-473f-84d3-373e8881128e
2026-08-24 04:10:48,877 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/15a4e293-29e1-4898-8a02-a03da7a2fab3
2026-08-24 04:10:48,896 - INFO - Verified VN network id 15 for VN 55f7afe3-3275-473f-84d3-373e8881128e
2026-08-24 04:10:48,896 - INFO - Verifications in API Server for VN ctest-vn-17726024 passed
2026-08-24 04:10:48,896 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/55f7afe3-3275-473f-84d3-373e8881128e
2026-08-24 04:10:48,908 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/15a4e293-29e1-4898-8a02-a03da7a2fab3
2026-08-24 04:10:48,918 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/15a4e293-29e1-4898-8a02-a03da7a2fab3
2026-08-24 04:10:48,930 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/b8037381-e96a-43d3-9722-c0ef0519b102
2026-08-24 04:10:48,949 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-81059673', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6194613202810390335', 'uuid-lslong': '9571054374810096270'}, 'enable': 'true', 'created': '2026-08-24T04:10:47', 'last-modified': '2026-08-24T04:10:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.854894'}
2026-08-24 04:10:48,958 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 04:10:48,965 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-81059673', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6194613202810390335', 'uuid-lslong': '9571054374810096270'}, 'enable': 'true', 'created': '2026-08-24T04:10:47', 'last-modified': '2026-08-24T04:10:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.878891'}
2026-08-24 04:10:48,973 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 04:10:48,981 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-81059673', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6194613202810390335', 'uuid-lslong': '9571054374810096270'}, 'enable': 'true', 'created': '2026-08-24T04:10:47', 'last-modified': '2026-08-24T04:10:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888843'}
2026-08-24 04:10:48,989 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 04:10:48,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17726024 passed
2026-08-24 04:10:48,989 - DEBUG - ====Verifying policy data for ctest-vn-17726024 in API_Server ======
2026-08-24 04:10:48,989 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-08-24 04:10:48,997 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b
2026-08-24 04:10:49,010 - DEBUG - Requesting: http://10.0.0.190:8082/project/1bbac2e8-1e3d-49cb-8f91-b1e71cfa57ad
2026-08-24 04:10:49,126 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/55f7afe3-3275-473f-84d3-373e8881128e
2026-08-24 04:10:49,140 - DEBUG - =>VN ctest-vn-17726024 has no policy to be verified
2026-08-24 04:10:49,140 - DEBUG - Verifying the vn in opserver
2026-08-24 04:10:49,140 - DEBUG - Verifying the default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 virtual network link through opserver 10.0.0.190
2026-08-24 04:10:49,140 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-08-24 04:10:49,474 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-08-24 04:10:49,537 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024?flat'}
2026-08-24 04:10:49,537 - DEBUG - Verifying the default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 virtual network link through opserver 10.0.0.50
2026-08-24 04:10:49,537 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-24 04:10:49,874 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-24 04:10:49,939 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024?flat'}
2026-08-24 04:10:49,939 - DEBUG - Verifying the default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 virtual network link through opserver 10.0.0.191
2026-08-24 04:10:49,939 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-08-24 04:10:50,271 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks
2026-08-24 04:10:50,348 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024?flat'}
2026-08-24 04:10:50,348 - INFO - Validated that VN default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is found in opserver
2026-08-24 04:10:50,373 - DEBUG - Do not have enough data to verify VN in agent
2026-08-24 04:10:50,386 - DEBUG - VRF ids for VN ctest-vn-17726024: {}
2026-08-24 04:10:50,413 - DEBUG - Services list from nova: [, , , ]
2026-08-24 04:10:50,414 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-6211-1', 'an-jenkins-deploy-platform-ansible-os-6211-2']}
2026-08-24 04:10:50,414 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-6211-1', 'an-jenkins-deploy-platform-ansible-os-6211-2']}
2026-08-24 04:10:51,010 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6211-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6211-1)
2026-08-24 04:10:51,010 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-6211-1', 'an-jenkins-deploy-platform-ansible-os-6211-2']}
2026-08-24 04:10:51,538 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6211-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6211-1)
2026-08-24 04:10:51,538 - INFO - Waiting for VM ctest-TestvifStats-81059673-72860088 to be up..
2026-08-24 04:10:51,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:10:56,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:11:01,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:11:06,925 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:11:12,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:11:17,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:11:22,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:11:27,321 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-24 04:11:32,420 - DEBUG - VM is in ACTIVE state now
2026-08-24 04:11:32,420 - INFO - VM name : ctest-TestvifStats-81059673-72860088
2026-08-24 04:11:32,538 - DEBUG - VM ctest-TestvifStats-81059673-72860088 ID is a54c5902-0962-45a4-bb2e-f5de5c117358
2026-08-24 04:11:32,575 - DEBUG - VM ctest-TestvifStats-81059673-72860088 launched on Node an-jenkins-deploy-platform-ansible-os-6211-1
2026-08-24 04:11:32,688 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/a54c5902-0962-45a4-bb2e-f5de5c117358
2026-08-24 04:11:33,031 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/a54c5902-0962-45a4-bb2e-f5de5c117358
2026-08-24 04:11:33,064 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/3b2854d3-6d59-4442-a5c3-a3daf2212276
2026-08-24 04:11:36,274 - 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 1030ms')
2026-08-24 04:11:36,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:11:36,292 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:11:40,380 - 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 1017ms')
2026-08-24 04:11:40,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:11:40,397 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:11:44,472 - 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')
2026-08-24 04:11:44,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:11:44,490 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:11:48,571 - 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 1009ms')
2026-08-24 04:11:48,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:11:48,588 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:11:52,668 - 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 1012ms')
2026-08-24 04:11:52,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:11:52,683 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:11:56,762 - 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 1005ms')
2026-08-24 04:11:56,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:11:56,781 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:12:00,856 - 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')
2026-08-24 04:12:00,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:12:00,873 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:12:04,954 - 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 1012ms')
2026-08-24 04:12:04,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:12:04,971 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:12:09,049 - 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')
2026-08-24 04:12:09,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:12:09,065 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:12:13,148 - 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 1013ms')
2026-08-24 04:12:13,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 failed!
2026-08-24 04:12:13,166 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-81059673:ctest-vn-17726024 is 132.72.215.1 and allocation pool is NOT set
2026-08-24 04:12:15,244 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.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 = 4.414/7.691/10.968/3.277 ms')
2026-08-24 04:12:15,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-81059673-72860088 passed
2026-08-24 04:12:15,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 04:12:15,318 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-81059673-72860088, IP 132.72.215.3, Port 22
2026-08-24 04:12:15,399 - 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': ''}
2026-08-24 04:12:15,500 - DEBUG - VM ctest-TestvifStats-81059673-72860088 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-24 04:12:20,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 04:12:20,501 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-81059673-72860088, IP 132.72.215.3, Port 22
2026-08-24 04:12:20,567 - 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': ''}
2026-08-24 04:12:20,661 - DEBUG - VM ctest-TestvifStats-81059673-72860088 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-24 04:12:25,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 04:12:25,662 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-81059673-72860088, IP 132.72.215.3, Port 22
2026-08-24 04:12:25,731 - 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': ''}
2026-08-24 04:12:25,825 - DEBUG - VM ctest-TestvifStats-81059673-72860088 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-24 04:12:30,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 04:12:30,826 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-81059673-72860088, IP 132.72.215.3, Port 22
2026-08-24 04:12:31,011 - DEBUG - VM ctest-TestvifStats-81059673-72860088 is ready for SSH connections
2026-08-24 04:12:31,011 - INFO - Waiting for VM ctest-TestvifStats-81059673-92760051 to be up..
2026-08-24 04:12:31,115 - DEBUG - VM is in ACTIVE state now
2026-08-24 04:12:31,116 - INFO - VM name : ctest-TestvifStats-81059673-92760051
2026-08-24 04:12:31,218 - DEBUG - VM ctest-TestvifStats-81059673-92760051 ID is b9631efd-9013-411a-bc75-08f76ecbabdf
2026-08-24 04:12:31,218 - DEBUG - VM ctest-TestvifStats-81059673-92760051 launched on Node an-jenkins-deploy-platform-ansible-os-6211-1
2026-08-24 04:12:31,327 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/b9631efd-9013-411a-bc75-08f76ecbabdf
2026-08-24 04:12:31,339 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/b8da7c27-f480-41f9-ad4c-664b99becdd7
2026-08-24 04:12:32,526 - 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=6.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.04 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.044/5.338/6.633/1.294 ms')
2026-08-24 04:12:32,526 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-81059673-92760051 passed
2026-08-24 04:12:32,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 04:12:32,605 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-81059673-92760051, IP 132.72.215.4, Port 22
2026-08-24 04:12:32,682 - DEBUG - Error on ssh to ubuntu@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-24 04:12:32,804 - DEBUG - VM ctest-TestvifStats-81059673-92760051 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-24 04:12:37,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 04:12:37,804 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-81059673-92760051, IP 132.72.215.4, Port 22
2026-08-24 04:12:37,987 - DEBUG - VM ctest-TestvifStats-81059673-92760051 is ready for SSH connections
2026-08-24 04:12:37,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-24 04:12:37,988 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.72.215.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2026-08-24 04:12:37,988 - DEBUG - ping -s 56 -c 3 -W 1 132.72.215.4
2026-08-24 04:12:48,322 - DEBUG - PING 132.72.215.4 (132.72.215.4) 56(84) bytes of data.
64 bytes from 132.72.215.4: icmp_req=1 ttl=64 time=8.83 ms
64 bytes from 132.72.215.4: icmp_req=2 ttl=64 time=3.63 ms
64 bytes from 132.72.215.4: icmp_req=3 ttl=64 time=1.52 ms
--- 132.72.215.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.520/4.661/8.830/3.071 ms
2026-08-24 04:12:48,322 - INFO - Ping to IP 132.72.215.4 from VM ctest-TestvifStats-81059673-72860088 passed
2026-08-24 04:12:48,323 - INFO - 10.0.0.162
2026-08-24 04:12:48,323 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:48,466 - INFO - 13575
2026-08-24 04:12:48,600 - INFO - TX packets:13512
2026-08-24 04:12:48,600 - INFO - 13512
2026-08-24 04:12:48,600 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:48,731 - INFO - 21742
2026-08-24 04:12:48,856 - INFO - TX packets:22548
2026-08-24 04:12:48,856 - INFO - 22548
2026-08-24 04:12:48,856 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:48,988 - INFO - 8806
2026-08-24 04:12:49,119 - INFO - TX packets:8010
2026-08-24 04:12:49,119 - INFO - 8010
2026-08-24 04:12:49,119 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:49,242 - INFO - 263
2026-08-24 04:12:49,386 - INFO - TX packets:321
2026-08-24 04:12:49,386 - INFO - 321
2026-08-24 04:12:49,386 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:49,498 - INFO - 232
2026-08-24 04:12:49,624 - INFO - TX packets:273
2026-08-24 04:12:49,624 - INFO - 273
2026-08-24 04:12:49,624 - INFO - 10.0.0.162
2026-08-24 04:12:49,734 - INFO - Vif stats cleared successfully on all cores for all interfaces
2026-08-24 04:12:49,734 - INFO - 10.0.0.162
2026-08-24 04:12:49,734 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:49,846 - INFO - 0
2026-08-24 04:12:49,961 - INFO - TX packets:0
2026-08-24 04:12:49,961 - INFO - 0
2026-08-24 04:12:49,961 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:50,092 - INFO - 0
2026-08-24 04:12:50,213 - INFO - TX packets:0
2026-08-24 04:12:50,213 - INFO - 0
2026-08-24 04:12:50,213 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:50,321 - INFO - 2
2026-08-24 04:12:50,438 - INFO - TX packets:2
2026-08-24 04:12:50,438 - INFO - 2
2026-08-24 04:12:50,438 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:50,568 - INFO - 1
2026-08-24 04:12:50,696 - INFO - TX packets:1
2026-08-24 04:12:50,696 - INFO - 1
2026-08-24 04:12:50,696 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2026-08-24 04:12:50,807 - INFO - 1
2026-08-24 04:12:50,933 - INFO - TX packets:1
2026-08-24 04:12:50,933 - INFO - 1
2026-08-24 04:12:50,933 - INFO - Deleting VM ctest-TestvifStats-81059673-92760051
2026-08-24 04:12:51,011 - INFO - Deleting VM ctest-TestvifStats-81059673-72860088
2026-08-24 04:12:51,085 - INFO - Deleting VN ctest-vn-17726024
2026-08-24 04:12:51,131 - DEBUG - VN 55f7afe3-3275-473f-84d3-373e8881128e still in use: Unable to complete operation on network 55f7afe3-3275-473f-84d3-373e8881128e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e08f6e87-7456-4780-ab3f-e7e064d5e7a8']
2026-08-24 04:12:51,131 - WARNING - Deleting VN ctest-vn-17726024 failed..Will retry
2026-08-24 04:12:53,263 - DEBUG - VN 55f7afe3-3275-473f-84d3-373e8881128e still in use: Unable to complete operation on network 55f7afe3-3275-473f-84d3-373e8881128e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6dfb2dc2-e789-4c68-868f-ee4a19c59c89']
2026-08-24 04:12:53,263 - WARNING - Deleting VN ctest-vn-17726024 failed..Will retry
2026-08-24 04:12:55,494 - DEBUG - Response for deleting network ()
2026-08-24 04:12:55,494 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/15a4e293-29e1-4898-8a02-a03da7a2fab3
2026-08-24 04:12:55,503 - DEBUG - Response Code: 404
2026-08-24 04:12:55,503 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-08-24 04:12:55,511 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b
2026-08-24 04:12:55,562 - DEBUG - Requesting: http://10.0.0.190:8082/project/1bbac2e8-1e3d-49cb-8f91-b1e71cfa57ad
2026-08-24 04:12:55,681 - INFO - Validated that VN ctest-vn-17726024 is not found in API Server
2026-08-24 04:12:55,695 - DEBUG - VN ctest-vn-17726024 is not present in Agent 10.0.0.162
2026-08-24 04:12:55,709 - DEBUG - VN ctest-vn-17726024 is not present in Agent 10.0.0.185
2026-08-24 04:12:55,709 - INFO - Validated that VN ctest-vn-17726024 is not in any agent
2026-08-24 04:12:55,749 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17726024 info
2026-08-24 04:12:57,076 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 04:12:57,076 - INFO - END TEST : test_vif_statistics : PASSED[0:02:12]
2026-08-24 04:12:57,076 - INFO - --------------------------------------------------------------------------------
2026-08-24 04:12:57,983 - INFO - Deleted project: ctest-TestvifStats-81059673, ID : 1bbac2e8-1e3d-49cb-8f91-b1e71cfa57ad